Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6917544

Browse files
committedApr 25, 2023
chore: Set up publish with npm provenance
1 parent f056306 commit 6917544

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed
 

‎.changeset/slimy-trains-wink.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'wonka': patch
3+
---
4+
5+
Publish with npm provenance

‎.github/workflows/release.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ jobs:
88
name: Release
99
runs-on: ubuntu-20.04
1010
timeout-minutes: 20
11+
permissions:
12+
contents: write
13+
id-token: write
14+
issues: write
15+
repository-projects: write
16+
deployments: write
17+
packages: write
18+
pull-requests: write
1119
steps:
1220
- name: Checkout Repo
1321
uses: actions/checkout@v3
@@ -22,7 +30,7 @@ jobs:
2230
- name: Setup pnpm
2331
uses: pnpm/action-setup@v2.2.2
2432
with:
25-
version: 7
33+
version: 8
2634
run_install: false
2735

2836
- name: Get pnpm store directory

‎package.json

+3
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
"./scripts/eslint-preset.js"
7272
]
7373
},
74+
"publishConfig": {
75+
"provenance": true
76+
},
7477
"devDependencies": {
7578
"@changesets/cli": "^2.26.0",
7679
"@changesets/get-github-info": "0.5.0",

0 commit comments

Comments
 (0)
Please sign in to comment.