Update dependencies, linting, server upgrade & workflows #955
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code sample checker | |
on: pull_request | |
jobs: | |
test-code-samples: | |
name: Check code samples | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest ] | |
steps: | |
- name: Setup Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 10 | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dependencies and compile client | |
run: | | |
npm install | |
npm run compile | |
- name: Check code samples | |
run: | | |
npm run check-code-samples |