Update CI actions #159
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: CI | |
on: | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 21 | |
- run: npm install | |
- name: Compile | |
run: npm run compile | |
- name: Lint Code | |
run: npm run lint | |
- name: Run server unit tests | |
run: npm run test-server | |
- name: Run client unit tests | |
run: npm run test-client | |
- name: Run integration tests | |
run: xvfb-run -a npm run test:e2e | |
if: runner.os == 'Linux' | |
- name: Run integration tests | |
run: npm run test:e2e | |
if: runner.os != 'Linux' |