File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 2424 uses : actions/setup-node@v2
2525 with :
2626 node-version : ${{ matrix.node_version }}
27+ registry-url : ' https://registry.npmjs.org'
2728 - name : Install latest NPM
2829 run : npm install -g npm@7
2930 - name : NPM install with caching
@@ -51,12 +52,15 @@ jobs:
5152 run : npm publish --workspaces --access public
5253 env :
5354 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
54- - name : Push CI Packages
55+ name : Setup GitHub CI Node.js environment
5556 if : github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest'
56- run : |
57- echo "//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" > .npmrc
58- echo "@exceptionless:registry=https://npm.pkg.github.com" >> .npmrc
59- echo "always-auth=true" >> .npmrc
60- npm publish --workspaces --access public
57+ uses : actions/setup-node@v2
58+ with :
59+ node-version : ${{ matrix.node_version }}
60+ registry-url : ' https://npm.pkg.github.com'
61+ scope : ' @exceptionless'
62+ - name : Push GitHub CI Packages
63+ if : github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest'
64+ run : npm publish --workspaces --access public
6165 env :
6266 NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments