Skip to content

Commit

Permalink
Use npm config when setting auth token during publishing (#1395)
Browse files Browse the repository at this point in the history
  • Loading branch information
vergilfromadyen authored Aug 30, 2024
1 parent 176a0d6 commit b0e129e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: |
npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}
npm install
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}" > .npmrc
npm run build
npm publish
env:
Expand Down

0 comments on commit b0e129e

Please sign in to comment.