Skip to content

Commit d3602f5

Browse files
committed
fix(ci): add NPM_CONFIG_PROVENANCE for OIDC trusted publishing
Without this env var, pnpm doesn't initiate the OIDC token exchange and falls back to NODE_AUTH_TOKEN which isn't set.
1 parent f7a7218 commit d3602f5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ jobs:
5656

5757
- name: Publish to npm
5858
run: npx nx release publish --yes
59+
env:
60+
NPM_CONFIG_PROVENANCE: true
5961

6062
- name: Build Gemini extension archive
6163
run: |

0 commit comments

Comments
 (0)