aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/publish-release.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml
index 1b6a8050..f581d0b6 100644
--- a/.github/workflows/publish-release.yml
+++ b/.github/workflows/publish-release.yml
@@ -4,7 +4,9 @@ on:
release:
types: [published]
-permissions: {} # we use a personal access token to push the release branch
+permissions:
+ # we use a personal access token to push the release branch
+ id-token: write # required for provenance/signed releases on npm
jobs:
publish:
@@ -56,6 +58,7 @@ jobs:
pnpm publish --tag next --no-git-checks
env:
CYPRESS_INSTALL_BINARY: 0
+ NPM_CONFIG_PROVENANCE: true
- name: Set latest/next dist-tag
run: |