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 4dbbb01
Show file tree
Hide file tree
Showing 3 changed files with 12 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
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
name: Release
runs-on: ubuntu-20.04
timeout-minutes: 20
permissions:
contents: read
id-token: write
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand All @@ -22,7 +25,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 4dbbb01

Please sign in to comment.