Bump typescript from 5.3.3 to 5.4.2 #28
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 tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test-node: | |
strategy: | |
fail-fast: false # if tests for one version fail, continue with the rest | |
matrix: | |
node-version: [17.x, 18.x, '20.x'] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
name: Node integration tests (${{ matrix.node-version }}) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run test-node | |
test-browsers: | |
name: Browser integration tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- name: Install dependencies | |
run: npm ci | |
- name: Install Chrome | |
run: npx playwright install-deps chrome | |
- name: Run browser tests | |
run: npm run test-browser | |
type-definitions: | |
name: Test type definitions | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- run: npm ci | |
- run: npm run test-type-definitions |