Update all dependencies #1209
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: Continuous Integration | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
tests: | |
name: Tests | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x # current LTS | |
- name: Fix issue with IPv6 during tests | |
run: | | |
echo "127.0.0.1 localhost" | sudo tee /etc/hosts | |
cat /etc/hosts | |
- name: Install dependencies | |
run: npm ci | |
- name: Install playwright | |
run: npx playwright install --with-deps | |
- name: Run lint | |
run: npm run lint | |
- name: Run format:check | |
run: npm run format:check | |
- name: Run unit tests | |
run: npm run ut:coverage | |
- name: Run end to end tests | |
run: npm run e2e:coverage | |
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d #v3.1.4 | |
with: | |
file: ./coverage/lcov.info | |
flags: ut | |
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d #v3.1.4 | |
with: | |
file: ./coverage-e2e/lcov.info | |
flags: e2e | |
- name: Build API documentation | |
run: npm run apidoc |