Skip to content

Commit

Permalink
chore: Set up publish with npm provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Apr 25, 2023
1 parent f056306 commit 6917544
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/slimy-trains-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'wonka': patch
---

Publish with npm provenance
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ jobs:
name: Release
runs-on: ubuntu-20.04
timeout-minutes: 20
permissions:
contents: write
id-token: write
issues: write
repository-projects: write
deployments: write
packages: write
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand All @@ -22,7 +30,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.2
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
"./scripts/eslint-preset.js"
]
},
"publishConfig": {
"provenance": true
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@changesets/get-github-info": "0.5.0",
Expand Down

0 comments on commit 6917544

Please sign in to comment.