Commit 688cd97 1 parent 9a2d8af commit 688cd97 Copy full SHA for 688cd97
File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Node CI
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+ strategy :
8
+ matrix :
9
+ node-version : [8.x, 10.x, 12.x]
10
+ os : [ubuntu-latest, windows-latest]
11
+
12
+ runs-on : ${{ matrix.os }}
13
+
14
+ steps :
15
+ # Checkout the npm/cli repo
16
+ - uses : actions/checkout@v1
17
+
18
+ # Installs the specific version of Node.js
19
+ - name : Use Node.js ${{ matrix.node-version }}
20
+ uses : actions/setup-node@v1
21
+ with :
22
+ node-version : ${{ matrix.node-version }}
23
+
24
+ # Run the installer script
25
+ - name : Install dependencies
26
+ run : node . install
27
+
28
+ # Run the tests
29
+ - name : Run Tap tests
30
+ run : node . run tap -- "test/tap/*.js" -t600 -Rclassic -c
31
+ env :
32
+ DEPLOY_VERSION : testing
33
+ COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_OPTIONAL_TOKEN }}
34
+
35
+ # - name: Run sudo tests on Linux
36
+ # if: matrix.os == 'ubuntu-latest'
37
+ # run: sudo PATH=$PATH $(which node) . run tap -- "test/tap/*.js" --coverage --timeout 600
38
+
39
+ - name : Lint
40
+ run : npx standard
41
+
42
+ - name : Validate licenses
43
+ run : node . run licenses
You can’t perform that action at this time.
0 commit comments