File tree Expand file tree Collapse file tree 1 file changed +16
-19
lines changed Expand file tree Collapse file tree 1 file changed +16
-19
lines changed Original file line number Diff line number Diff line change 11name : Lint & Unit Test
22on :
33 push :
4- branches : [ master, dev ]
4+ branches : [master, dev]
55 pull_request :
66 branches : [dev]
77jobs :
88 check :
99 runs-on : ubuntu-latest
10- strategy :
11- matrix :
12- node : [ 12, 14, 16, 18 ]
1310 steps :
14- - name : Checkout
15- uses : actions/checkout@v3
16- - name : Setup node
17- uses : actions/setup-node@v3
18- with :
19- node-version : ${{ matrix.node }}
20- cache : ' npm'
21- - name : Install dependencies
22- run : npm install -g codecov && npm install
23- - name : Run Lint
24- run : npm run lint
25- - name : Run tests
26- run : npm test
27- - name : Upload coverage
28- run : codecov || echo "Codecov upload failed, continuing..."
11+ - name : Checkout
12+ uses : actions/checkout@v3
13+ - name : Setup Node.js
14+ uses : actions/setup-node@v3
15+ with :
16+ node-version : ' lts/* '
17+ cache : ' npm'
18+ - name : Install dependencies
19+ run : npm install -g codecov && npm install
20+ - name : Run Lint
21+ run : npm run lint
22+ - name : Run tests
23+ run : npm test
24+ - name : Upload coverage
25+ run : codecov || echo "Codecov upload failed, continuing..."
You can’t perform that action at this time.
0 commit comments