Skip to content

Commit

Permalink
Merge pull request #1397 from Adyen/publish-with-node-18
Browse files Browse the repository at this point in the history
Update npmpublish.yml again
  • Loading branch information
vergilfromadyen committed Sep 3, 2024
2 parents b0e129e + 7f67f47 commit c9fe59d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
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:
GITHUB_TOKEN: ${{ secrets.USER_GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}

0 comments on commit c9fe59d

Please sign in to comment.