Skip to content

Commit

Permalink
infra: publish releases with provenance (#3119)
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Sep 17, 2024
1 parent 48f171e commit 548c034
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 548c034

Please sign in to comment.