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 5c3967d commit 18b9865Copy full SHA for 18b9865
1 file changed
.github/workflows/nodejs.yml
@@ -0,0 +1,30 @@
1
+name: Node.js CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
9
+jobs:
10
+ test:
11
+ name: Test on Node.js ${{ matrix.node-version }} and ${{ matrix.os }}
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ node-version: [8.x, 10.x, 12.x, 13.x]
16
+ os: [ubuntu-latest, windows-latest, macOS-latest]
17
+ runs-on: ${{ matrix.os }}
18
+ steps:
19
+ - uses: actions/checkout@v1
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v1
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
+ - name: npm install and test
25
+ shell: pwsh
26
+ run: |
27
+ npm install
28
+ npm test
29
+ env:
30
+ CI: true
0 commit comments