Skip to content

Commit

Permalink
feat: add provenance info (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanregisser authored Apr 19, 2024
1 parent c07c154 commit 56e4883
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ jobs:
- knip
- test
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
# actions/checkout MUST come before auth
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"preset": "conventionalcommits"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}

0 comments on commit 56e4883

Please sign in to comment.