Skip to content

Commit f7dbc47

Browse files
Update npmpublish.yml to specify an environment
1 parent f89347d commit f7dbc47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/npmpublish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ on:
88
jobs:
99
publish-npm:
1010
runs-on: ubuntu-latest
11+
environment: release
1112
steps:
1213
- uses: actions/checkout@v4
1314
- uses: actions/setup-node@v4
1415
with:
1516
node-version: 18.x
1617
registry-url: https://registry.npmjs.org/
1718
- run: |
18-
npm install
1919
npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}
20+
npm install
2021
npm run build
2122
npm publish

0 commit comments

Comments
 (0)