Skip to content

Commit 75f990f

Browse files
Update npm-debug.yml
1 parent 8e3be9d commit 75f990f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/npm-debug.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1-
name: NPM debug
1+
name: Node.js Package
22

33
on:
44
workflow_dispatch:
5+
release:
6+
types: [published]
57

68
jobs:
79
publish-npm:
810
runs-on: ubuntu-latest
11+
environment: release
912
steps:
1013
- uses: actions/checkout@v4
1114
- uses: actions/setup-node@v4
1215
with:
13-
node-version: 18.x
16+
node-version: '18.x'
1417
registry-url: 'https://registry.npmjs.org'
15-
- run: |
16-
npm whoami
18+
- run: npm whoami
19+
env:
20+
NODE_AUTH_TOKEN: ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}

0 commit comments

Comments
 (0)