Skip to content

Update CI actions

Update CI actions #159

Workflow file for this run

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'