File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -27,21 +27,20 @@ jobs:
2727 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
2828 registry-url : " https://registry.npmjs.org"
2929 scope : " @intersect.mbo"
30- run : echo "Authentication successful"
30+ run : |
31+ npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
32+ npm config set scope "@intersect.mbo"
33+ npm whoami
3134
3235 - name : Check NPM Authentication
33- env :
34- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
3536 run : npm whoami
3637
3738 - name : Install dependencies
3839 run : npm ci
3940 env :
40- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
4141 NODE_OPTIONS : --max_old_space_size=8192
4242
4343 - name : Publish to npm
44- run : npm publish
44+ run : npm publish --access restricted
4545 env :
46- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
4746 NODE_OPTIONS : --max_old_space_size=8192
You can’t perform that action at this time.
0 commit comments