Skip to content

[ci] Update actions/setup-node action to v4 #58

[ci] Update actions/setup-node action to v4

[ci] Update actions/setup-node action to v4 #58

Workflow file for this run

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