We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e3be9d commit 75f990fCopy full SHA for 75f990f
.github/workflows/npm-debug.yml
@@ -1,16 +1,20 @@
1
-name: NPM debug
+name: Node.js Package
2
3
on:
4
workflow_dispatch:
5
+ release:
6
+ types: [published]
7
8
jobs:
9
publish-npm:
10
runs-on: ubuntu-latest
11
+ environment: release
12
steps:
13
- uses: actions/checkout@v4
14
- uses: actions/setup-node@v4
15
with:
- node-version: 18.x
16
+ node-version: '18.x'
17
registry-url: 'https://registry.npmjs.org'
- - run: |
- npm whoami
18
+ - run: npm whoami
19
+ env:
20
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}
0 commit comments