File tree Expand file tree Collapse file tree 1 file changed +8
-23
lines changed Expand file tree Collapse file tree 1 file changed +8
-23
lines changed Original file line number Diff line number Diff line change 10
10
branches : [ main ]
11
11
12
12
jobs :
13
- build :
14
-
15
- runs-on : ubuntu-latest
16
-
17
- strategy :
18
- matrix :
19
- node-version : [16.x, 18.x, 20.x]
20
-
21
- steps :
22
- - uses : actions/checkout@v3
23
- with :
24
- # Need commit history test for cli-tests
25
- fetch-depth : 0
26
- - name : Use Node.js ${{ matrix.node-version }}
27
- uses : actions/setup-node@v3
28
- with :
29
- node-version : ${{ matrix.node-version }}
30
- - run : npm install
31
- - run : npm run build --if-present
32
- - run : npm run test-ci
33
- env :
34
- CI : true
35
- - run : bash <(curl -s https://codecov.io/bash)
13
+ test :
14
+ name : Test on Node.js
15
+ uses : pkgjs/action/.github/workflows/node-test.yaml@v0
16
+ with :
17
+ test-command : npm run test-ci
18
+ post-test-steps : |
19
+ - name: Upload coverage report to Codecov
20
+ run: bash <(curl -s https://codecov.io/bash)
You can’t perform that action at this time.
0 commit comments