File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,22 +2,9 @@ name: Node.js CI
22on : push
33jobs :
44 test :
5- runs-on : ubuntu-latest
6- strategy :
7- matrix :
8- node-version : [16.x, 18.x, latest]
9- env :
5+ uses : activeprospect/github-action-workflows/.github/workflows/test.yml@master
6+ with :
7+ codecov : true
8+ secrets :
109 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
11- steps :
12- - uses : actions/checkout@v3
13-
14- - name : Use Node.js ${{ matrix.node-version }}
15- uses : actions/setup-node@v3
16- with :
17- node-version : ${{ matrix.node-version }}
18- - run : npm install
19- - name : Run tests
20- run : npx nyc@latest --reporter=lcov npm test
21- - uses : codecov/codecov-action@v1
22- with :
23- token : ${{ secrets.CODECOV_TOKEN }}
10+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1+ 24
Original file line number Diff line number Diff line change 3030 "bugs" : {
3131 "url" : " https://github.com/hughsk/flat/issues"
3232 },
33- "homepage" : " https://github.com/hughsk/flat"
33+ "homepage" : " https://github.com/hughsk/flat" ,
34+ "engines" : {
35+ "node" : " >=20"
36+ }
3437}
You can’t perform that action at this time.
0 commit comments