File tree Expand file tree Collapse file tree 1 file changed +8
-29
lines changed
Expand file tree Collapse file tree 1 file changed +8
-29
lines changed Original file line number Diff line number Diff line change @@ -2,35 +2,14 @@ name: Node.js CI
22
33on :
44 push :
5- branches : master
5+ branches :
6+ - master
67 pull_request :
78
89jobs :
9- lint :
10- runs-on : ubuntu-latest
11- steps :
12- - uses : actions/checkout@v2
13- - uses : actions/setup-node@v2-beta
14- with :
15- node-version : 14.x
16- - name : Install dependencies
17- run : npm install
18- - name : Run ESLint
19- run : npm run eslint
20- test :
21- runs-on : ubuntu-latest
22- strategy :
23- matrix :
24- node-version : [10.x, 12.x, 14.x]
25- steps :
26- - uses : actions/checkout@v2
27- - name : Use Node.js ${{ matrix.node-version }}
28- uses : actions/setup-node@v2-beta
29- with :
30- node-version : ${{ matrix.node-version }}
31- - name : Install dependencies
32- run : npm install
33- - name : Run tests
34- run : npm run test-coverage
35- - name : Send coverage report to Codecov
36- uses : codecov/codecov-action@v1
10+ nodejs :
11+ # Documentation: https://github.com/zakodium/workflows#nodejs-ci
12+ uses : zakodium/workflows/.github/workflows/nodejs.yml@nodejs-v1
13+ with :
14+ node-version-matrix : ' [14, 16, 18]'
15+ lint-check-types : true
You can’t perform that action at this time.
0 commit comments