Skip to content

Commit a9a7032

Browse files
Merge branch 'update-publish-task-e3gq'
2 parents 872b75f + ef72729 commit a9a7032

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
permissions:
1212
contents: write
13+
id-token: write # Required for OIDC
1314
steps:
1415
- name: Checkout
1516
uses: actions/checkout@v4
@@ -58,9 +59,9 @@ jobs:
5859
- name: Publish to npm
5960
if: steps.check_tag.outputs.exists == 'false'
6061
working-directory: cli
61-
run: npm publish --access public
62+
run: npm publish --access public --provenance
6263
env:
63-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
64+
NPM_CONFIG_PROVENANCE: true
6465

6566
- name: Create and push tag
6667
if: steps.check_tag.outputs.exists == 'false'

0 commit comments

Comments
 (0)