Skip to content

Commit 77aa23a

Browse files
Revert npmpublish to the last known working state
1 parent 3c578a9 commit 77aa23a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/npmpublish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
node-version: 18.x
1616
registry-url: 'https://registry.npmjs.org'
1717
- run: |
18-
npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}
1918
npm install
19+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_API_LIBRARY_TOKEN }}" > .npmrc
2020
npm run build
21-
- run: npm publish
21+
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)