Skip to content

Commit 6ddd8b2

Browse files
authored
ci: configure OIDC auth with npm (#29)
1 parent 82347ad commit 6ddd8b2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
name: Deploy
7272
runs-on: ubuntu-latest
7373
needs: [test, build]
74+
environment: production
7475

7576
permissions:
7677
contents: read
@@ -83,7 +84,7 @@ jobs:
8384
- name: Install Node.js
8485
uses: actions/setup-node@v4
8586
with:
86-
node-version: '22'
87+
node-version: '24'
8788
registry-url: https://registry.npmjs.org
8889

8990
- name: Download publish artifact
@@ -94,5 +95,3 @@ jobs:
9495

9596
- name: Publish to npm
9697
run: npm publish
97-
env:
98-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)