We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c578a9 commit 77aa23aCopy full SHA for 77aa23a
.github/workflows/npmpublish.yml
@@ -15,7 +15,10 @@ jobs:
15
node-version: 18.x
16
registry-url: 'https://registry.npmjs.org'
17
- run: |
18
- npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}
19
npm install
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_API_LIBRARY_TOKEN }}" > .npmrc
20
npm run build
21
- - run: npm publish
+ npm publish
22
+ env:
23
+ GITHUB_TOKEN: ${{ secrets.USER_GITHUB_TOKEN }}
24
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}
0 commit comments