We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f76e82d commit a71ba2dCopy full SHA for a71ba2d
1 file changed
.github/workflows/test.yml
@@ -2,6 +2,18 @@ name: Node.js CI
2
on: push
3
jobs:
4
test:
5
- uses: activeprospect/github-action-workflows/.github/workflows/test.yml@master
6
- secrets:
+ runs-on: ubuntu-latest
+ strategy:
7
+ matrix:
8
+ node-version: [20.x, 24.x]
9
+ env:
10
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
11
+ steps:
12
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
13
+ - name: Use Node.js ${{ matrix.node-version }}
14
+ uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
15
+ with:
16
+ node-version: ${{ matrix.node-version }}
17
+ - run: npm install
18
+ - name: Run tests
19
+ run: npx nyc@17.1.0 --reporter=lcov npm test
0 commit comments