Skip to content

Commit

Permalink
fix: enable provenance for publishing (#2334)
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito authored Oct 27, 2024
1 parent 16c7c10 commit e9b0636
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
release:
runs-on: macos-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion release.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": [
{
"name": "latest",
"use": "pnpm publish --no-git-checks"
"use": "NPM_CONFIG_PROVENANCE=true pnpm publish --no-git-checks"
}
]
}

0 comments on commit e9b0636

Please sign in to comment.