Skip to content

Bump @types/chai from 4.3.20 to 5.2.3 (#86) #184

Bump @types/chai from 4.3.20 to 5.2.3 (#86)

Bump @types/chai from 4.3.20 to 5.2.3 (#86) #184

Workflow file for this run

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: [18.x, '20.x', '22.x', '24.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
permissions: {}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test-node
test-browsers:
name: Browser integration tests
runs-on: ubuntu-latest
permissions: {}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
- name: Install dependencies
run: npm ci
- name: Install Chrome
run: npx playwright install --with-deps chromium
- name: Run browser tests
run: npm run test-browser
type-definitions:
name: Test type definitions
runs-on: ubuntu-latest
permissions:
pull-requests: write # allow comments
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
- run: npm ci
- run: npm run test-type-definitions
- run: npm i typescript@4.7 @types/node@18.0.0
- run: npm run test-type-definitions-legacy
lint:
name: ESLint
runs-on: ubuntu-latest
permissions:
pull-requests: write # allow comments
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
- run: npm ci
- run: npm run lint