File tree Expand file tree Collapse file tree 3 files changed +18
-26
lines changed
Expand file tree Collapse file tree 3 files changed +18
-26
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1414 - uses : actions/checkout@v4
1515 - uses : actions/setup-node@v4
1616 with :
17- node-version : 20
1817 cache : " npm"
19- - run : npm install --ignore-scripts --no-audit
18+ - run : npm install --ignore-scripts --no-audit --no-fund
2019 - run : npm test
2120
2221 publish-npm :
2726 - uses : actions/setup-node@v4
2827 with :
2928 cache : " npm"
30- node-version : 20
3129 registry-url : https://registry.npmjs.org/
32- - run : npm install --ignore-scripts --no-audit
30+ - run : npm install --ignore-scripts --no-fund --no- audit
3331 - run : npm run build
3432 - run : npm publish
3533 env :
Original file line number Diff line number Diff line change 3131 - run : npm install --ignore-scripts --no-audit --no-fund
3232 - run : npm test
3333
34+ code-coverage :
35+ name : Code coverage
36+ runs-on : ubuntu-latest
37+ steps :
38+ - uses : actions/checkout@v4
39+ - name : Use Node.js
40+ uses : actions/setup-node@v4
41+ with :
42+ cache : " npm"
43+ - run : npm install --ignore-scripts --no-audit --no-fund
44+ - run : npx c8 --reporter=lcov npm test
45+ - name : Upload coverage reports to Codecov
46+ uses : codecov/codecov-action@v4
47+ with :
48+ token : ${{ secrets.CODECOV_TOKEN }}
49+
3450 lint-package :
3551 name : Lint package
3652 runs-on : ubuntu-latest
4864 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
4965 - name : Lint package
5066 run : npx publint
51- - run : npx c8 --reporter=lcov npm test
52- - name : Upload coverage reports to Codecov
53- uses : codecov/codecov-action@v4
54- with :
55- token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments