Skip to content

Commit

Permalink
ci: include provenance info when publishing packages (#2675)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmenko authored Dec 29, 2023
1 parent 4967fde commit 1e229b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

permissions:
id-token: write

jobs:
release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -51,6 +54,7 @@ jobs:
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
provenance=true
[email protected]
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
Expand Down

1 comment on commit 1e229b4

@vercel
Copy link

@vercel vercel bot commented on 1e229b4 Dec 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.