File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 strategy :
1111 matrix :
12- node-version : [14 .x]
12+ node-version : [16 .x]
1313 steps :
1414 - uses : actions/checkout@v2
1515 - name : Install Node.js ${{ matrix.node-version }}
Original file line number Diff line number Diff line change @@ -10,13 +10,15 @@ jobs:
1010 - uses : actions/checkout@v2
1111 - uses : actions/setup-node@v2
1212 with :
13- node-version : ' 14 '
13+ node-version : ' 16 '
1414 - name : Install dependencies π¦
1515 run : yarn
1616 - name : Publish package to NPM π
1717 env :
1818 NPM_TOKEN : ${{ secrets.NPM_AUTOMATION_TOKEN }}
19- run : npm publish --token=${{ env.NPM_TOKEN }}
19+ run : |
20+ npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
21+ npm publish
2022 - name : Publish GitHub Release π
2123 uses : softprops/action-gh-release@v1
2224 with :
You canβt perform that action at this time.
0 commit comments