Skip to content

Commit c948d76

Browse files
authored
chore: Set up publish with npm provenance (#12)
* chore: Set up publish with npm provenance * Update lockfile
1 parent 16773d1 commit c948d76

File tree

4 files changed

+745
-702
lines changed

4 files changed

+745
-702
lines changed

.changeset/slimy-trains-wink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@0no-co/graphql.web': patch
3+
---
4+
5+
Publish with npm provenance

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
"vitest": "^0.29.7"
104104
},
105105
"publishConfig": {
106-
"access": "public"
106+
"access": "public",
107+
"provenance": true
107108
}
108109
}

0 commit comments

Comments
 (0)