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