Skip to content

Commit d132747

Browse files
committed
Configure for OIDC publish to npm
1 parent 06d4a57 commit d132747

3 files changed

Lines changed: 22 additions & 10 deletions

File tree

.github/workflows/continuous-delivery.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
permissions:
1212
contents: write
13+
id-token: write
1314

1415
jobs:
1516
release:
@@ -27,9 +28,6 @@ jobs:
2728
github.event.pull_request.head.repo.fork == false
2829
)
2930
30-
outputs:
31-
tag: v${{ steps.tag.outputs.version }}
32-
3331
steps:
3432
- name: Checkout
3533
id: checkout
@@ -41,8 +39,6 @@ jobs:
4139
- name: Setup Node.js
4240
id: setup-node
4341
uses: actions/setup-node@v6
44-
env:
45-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4642
with:
4743
cache: npm
4844
node-version-file: .node-version
@@ -66,10 +62,7 @@ jobs:
6662

6763
- name: Publish
6864
id: publish
69-
env:
70-
NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
7165
run: |
72-
npm whoami
7366
npm publish --ignore-scripts --access public
7467
7568
- name: Create Release

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.13.0
1+
24.11.1

package-lock.json

Lines changed: 20 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)