We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e12124d + 1597a8d commit 5e69351Copy full SHA for 5e69351
.github/workflows/node.js.yml
@@ -0,0 +1,26 @@
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.js CI
5
6
+on: [push, pull_request]
7
8
+jobs:
9
+ build:
10
11
+ runs-on: ${{ matrix.os }}
12
13
+ strategy:
14
+ matrix:
15
+ os: [ubuntu-latest, windows-latest, macos-latest]
16
+ node-version: [8.x, 10.x, 12.x, 14.x]
17
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v2
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
+ - run: npm install
25
+ - run: npm run build --if-present
26
+ - run: npm test
0 commit comments