Skip to content

Commit 378e57d

Browse files
Try npm config set again
1 parent e2764d9 commit 378e57d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/npmpublish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@ jobs:
1313
- uses: actions/setup-node@v4
1414
with:
1515
node-version: 18.x
16-
registry-url: 'https://registry.npmjs.org/'
16+
registry-url: https://registry.npmjs.org/
1717
- run: |
1818
npm install
19-
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}" > .npmrc
19+
npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}
2020
npm run build
2121
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

Comments
 (0)