We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad16081 commit 1033557Copy full SHA for 1033557
2 files changed
.github/workflows/test.yml
@@ -1,16 +1,11 @@
1
name: Test
2
-on: push
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
jobs:
10
test:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- node-version: [10.x, 12.x, 13.x]
- steps:
- - uses: actions/checkout@v2
11
- - name: Use Node.js ${{ matrix.node-version }}
12
- uses: actions/setup-node@v1
13
- with:
14
- node-version: ${{ matrix.node-version }}
15
- - name: npm install and test
16
- run: npm it
+ uses: pkgjs/action/.github/workflows/node-test.yaml@v0
package.json
@@ -47,5 +47,8 @@
47
},
48
"bin": {
49
"nv": "./bin/nv"
50
+ },
51
+ "engines": {
52
+ "node": "^18 || ^20 || ^22"
53
}
54
0 commit comments