chore(deps-dev): bump typescript from 5.5.4 to 5.6.2 #705
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: Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test-node-versions: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: | |
# List of supported node versions (latest is tested in `test-os`) | |
- 18.x | |
- 20.x | |
- 22.x | |
os: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm test | |
# Ensure the repository is clean after build & test | |
- run: git --no-pager diff --compact-summary --exit-code | |
test-os: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: | |
# Test the latest node version here, move older versions to `test-old-node-versions` | |
- 20.x | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm test | |
# Ensure the repository is clean after build & test | |
- run: git --no-pager diff --compact-summary --exit-code | |
test-performance: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: | |
- 20.x | |
os: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
# test:integrations will setup the test environment, which contains some perf tests. | |
- run: npm run test:integrations | |
- run: npm run perf |