Skip to content

Commit b0e129e

Browse files
Use npm config when setting auth token during publishing (#1395)
1 parent 176a0d6 commit b0e129e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/npmpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
node-version: 14
1616
registry-url: https://registry.npmjs.org/
1717
- run: |
18+
npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}
1819
npm install
19-
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}" > .npmrc
2020
npm run build
2121
npm publish
2222
env:

0 commit comments

Comments
 (0)