Skip to content

Commit 757d133

Browse files
authored
Fix OIDC (#495)
1 parent f938bb0 commit 757d133

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/prepare-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,14 @@ jobs:
3535
with:
3636
run_install: |
3737
- args: [--frozen-lockfile]
38+
- name: Upgrade npm for OIDC trusted publishing
39+
run: npm install -g npm@11.11.0
3840
- name: Create Release Pull Request
3941
uses: changesets/action@e2f8e964d080ae97c874b19e27b12e0a8620fb6c # v1.4.6
4042
with:
4143
title: Release to npm
4244
commit: Release to npm
4345
publish: "pnpm publish:ci-prod"
4446
env:
45-
GITHUB_TOKEN: ${{ steps.get-token.outputs.token }}
47+
GITHUB_TOKEN: ${{ steps.get-token.outputs.token }}
48+
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)