diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 148a57b8..7dc6b308 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,13 @@ name: Release - beta - next - "*.x" +# These are recommended by the semantic-release docs: https://github.com/semantic-release/npm#npm-provenance +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 + jobs: release: name: release diff --git a/package.json b/package.json index f10a2ed7..6a338431 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,8 @@ ] }, "publishConfig": { - "access": "public" + "access": "public", + "provenance": true }, "engines": { "node": ">= 18"