Skip to content

Commit

Permalink
chore(ci): Enable package provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
iainjreid committed Nov 3, 2023
1 parent 112c8d1 commit 0a191f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
build:
runs-on: ubuntu-latest

permissions:
id-token: write # Required for NPM provenance via OIDC

steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"lib"
],
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 0a191f1

Please sign in to comment.