We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f2d43d commit 1933763Copy full SHA for 1933763
.github/workflows/nodejs.yml
@@ -0,0 +1,30 @@
1
+# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2
+# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
+
4
+name: Node Continuous Integration
5
6
+on:
7
+ push:
8
+ branches: [master]
9
+ pull_request:
10
11
12
+jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
+ defaults:
16
+ run:
17
+ working-directory: ./
18
19
+ strategy:
20
+ matrix:
21
+ node-version: [10.x, 12.x]
22
23
+ steps:
24
+ - uses: actions/checkout@v2
25
+ - name: Use Node.js ${{ matrix.node-version }}
26
+ uses: actions/setup-node@v1
27
+ with:
28
+ node-version: ${{ matrix.node-version }}
29
+ - run: npm ci
30
+ - run: npm test
0 commit comments