Merge pull request #79 from davelopez/add_required_prop_in_children_v… #154
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: | |
push: | |
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' |