Skip to content

Commit

Permalink
Revert back to the recommended configuration pattern in the docs afte…
Browse files Browse the repository at this point in the history
…r specifying an environment
  • Loading branch information
vergilfromadyen committed Sep 5, 2024
1 parent f7dbc47 commit 8e3be9d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: |
npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}
npm install
npm run build
npm publish
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}

0 comments on commit 8e3be9d

Please sign in to comment.