File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 install :
13- runs-on : ubuntu-latest
13+ runs-on : ubuntu-18.04
1414 steps :
1515 - uses : actions/checkout@v1
1616 - uses : actions/setup-node@v1
1717 with :
1818 node-version : 12
1919 - run : |
2020 yarn install
21+ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}"
2122 yarn test
2223
2324 publish-npm :
2425 needs : install
25- runs-on : ubuntu-latest
26+ runs-on : ubuntu-18.04
2627 steps :
2728 - uses : actions/checkout@v1
2829 - uses : actions/setup-node@v1
2930 with :
3031 node-version : 12
3132 registry-url : https://registry.npmjs.org/
32- - run : |
33- echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
34- npx semantic-release
33+ - run : npx semantic-release
3534 env :
3635 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
3736 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments