Skip to content

Commit 8e3be9d

Browse files
Revert back to the recommended configuration pattern in the docs after specifying an environment
1 parent f7dbc47 commit 8e3be9d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/npmpublish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 18.x
17-
registry-url: https://registry.npmjs.org/
16+
node-version: '18.x'
17+
registry-url: 'https://registry.npmjs.org'
1818
- run: |
19-
npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}
2019
npm install
2120
npm run build
22-
npm publish
21+
- run: npm publish
22+
env:
23+
NODE_AUTH_TOKEN: ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}

0 commit comments

Comments
 (0)