Skip to content

Commit 44d62e0

Browse files
committed
chore: enable npm provenance
1 parent 12ebcea commit 44d62e0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/release.yml

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
id-token: write
14+
1115
steps:
1216
- uses: actions/checkout@v3
1317
with:
@@ -35,3 +39,4 @@ jobs:
3539
run: pnpm -r publish --access public --no-git-checks
3640
env:
3741
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
42+
NPM_CONFIG_PROVENANCE: true

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"repository": {
4242
"type": "git",
43-
"url": "git+https://github.com/vuejs/repl.git"
43+
"url": "git+https://github.com/vuejs/repl"
4444
},
4545
"author": "Evan You",
4646
"license": "MIT",

0 commit comments

Comments
 (0)