Skip to content

Commit 801b49b

Browse files
committed
ci: add NPM_CONFIG_PROVENANCE to trigger OIDC auth for sub-packages
1 parent e8b42c0 commit 801b49b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/reusable-napi-publish.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ jobs:
110110
- name: Publish napi
111111
run: pnpm --filter ${{ inputs.npm_package_name }} publish --no-git-checks --force --provenance
112112
env:
113+
NPM_CONFIG_PROVENANCE: "true"
113114
RELEASE_ID: ${{ steps.create_release.outputs.id }}
114115

115116
- name: Update Release

‎.github/workflows/reusable-npm-publish.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
- name: NPM Publish
7575
run: pnpm --filter ${{ inputs.npm_package_name }} publish --no-git-checks --force --provenance
7676
env:
77+
NPM_CONFIG_PROVENANCE: "true"
7778
RELEASE_ID: ${{ steps.create_release.outputs.id }}
7879

7980
- name: Update Release

0 commit comments

Comments
 (0)