Skip to content

[ci] Test on node 22 #339

[ci] Test on node 22

[ci] Test on node 22 #339

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 10
- 12
- 14
- 16
- 18
- 20
- 22
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run lint
if: matrix.node == 22
- run: npm test
- run: npm run test:types
- uses: coverallsapp/github-action@v2
if: matrix.node == 22
with:
github-token: ${{ secrets.GITHUB_TOKEN }}