Skip to content

Commit

Permalink
fix: add provenance statement to npm publish fp-136 (#143)
Browse files Browse the repository at this point in the history
* fix: add provenance statement to npm publish fp-136

* fix: add id permissiono to npm publish fp-136
  • Loading branch information
what1s1ove authored Jun 20, 2024
1 parent 1849beb commit f929339
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ jobs:
name: NPM Publish
needs: build
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Code Checkout
uses: actions/checkout@v4
Expand All @@ -109,7 +111,7 @@ jobs:

- name: Publish
working-directory: ${{ env.ARTIFACT_PATH }}
run: npm publish
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit f929339

Please sign in to comment.