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.
2 parents 69f0b6e + 42b153d commit c27dde5Copy full SHA for c27dde5
.github/workflows/nodejs.yml
@@ -0,0 +1,28 @@
1
+name: Node CI
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - master
7
+jobs:
8
+ build:
9
10
+ runs-on: ubuntu-latest
11
12
+ strategy:
13
+ matrix:
14
+ node-version: [8.x, 10.x, 12.x]
15
16
+ steps:
17
+ - uses: actions/checkout@v1
18
+ - name: Use Node.js ${{ matrix.node-version }}
19
+ uses: actions/setup-node@v1
20
+ with:
21
+ node-version: ${{ matrix.node-version }}
22
+ - name: npm install, build, and test
23
+ run: |
24
+ npm install
25
+ npm run build --if-present
26
+ npm test
27
+ env:
28
+ CI: true
0 commit comments