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 f496285 commit 27b7b7dCopy full SHA for 27b7b7d
.github/workflows/test.yml
@@ -1,20 +1,11 @@
1
name: Test
2
+
3
on:
- pull_request:
4
push:
5
branches:
6
- - master
+ - main
7
+ pull_request:
8
9
jobs:
10
test:
- runs-on: ubuntu-latest
- strategy:
11
- matrix:
12
- node-version: [12.x, 14.x, 16.x]
13
- steps:
14
- - uses: actions/checkout@v1
15
- - name: Use Node.js ${{ matrix.node-version }}
16
- uses: actions/setup-node@v1
17
- with:
18
- node-version: ${{ matrix.node-version }}
19
- - name: npm install and test
20
- run: npm it
+ uses: pkgjs/action/.github/workflows/node-test.yaml@v0
package.json
@@ -45,5 +45,8 @@
45
"@types/node": "16.10.2",
46
"mocha": "^5.1.1",
47
"semistandard": "^16.0.1"
48
+ },
49
+ "engines": {
50
+ "node": "^12 || ^14 || ^16"
51
}
52
0 commit comments