File tree Expand file tree Collapse file tree 2 files changed +13
-19
lines changed Expand file tree Collapse file tree 2 files changed +13
-19
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,14 @@ jobs:
1414
1515 runs-on : ubuntu-latest
1616
17- strategy :
18- matrix :
19- node-version : [16.x]
20-
2117 steps :
22- - uses : actions/checkout@v2
23- - name : Use Node.js ${{ matrix.node-version }}
24- uses : actions/setup-node@v2
18+ - uses : actions/checkout@v4
19+ - uses : actions/setup-node@v4
2520 with :
26- node-version : ${{ matrix.node-version }}
27- - run : npm i
28- - run : npm run ci
21+ node-version : ' 18.x'
22+ - run : |
23+ npm i
24+ npm run ci
2925 - uses : codecov/codecov-action@v4
3026 with :
3127 token : ${{ secrets.CODECOV_TOKEN }} # required
Original file line number Diff line number Diff line change 99 publish :
1010 runs-on : ubuntu-latest
1111 steps :
12- - name : Checkout
13- uses : actions/checkout@v2
14- - name : Setup Node
15- uses : actions/setup-node@v2
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-node@v4
1614 with :
17- node-version : ' 16 .x'
15+ node-version : ' 18 .x'
1816 registry-url : ' https://registry.npmjs.org'
19- - name : Install dependencies and build
20- run : npm install && npm run build
21- - name : Publish package on NPM
22- run : npm publish
17+ - run : |
18+ npm i
19+ npm run build
20+ - run : npm publish
2321 env :
2422 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments