Skip to content

Commit

Permalink
chore: enable npm provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jun 25, 2023
1 parent 12ebcea commit 44d62e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write

steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -35,3 +39,4 @@ jobs:
run: pnpm -r publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_CONFIG_PROVENANCE: true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/repl.git"
"url": "git+https://github.com/vuejs/repl"
},
"author": "Evan You",
"license": "MIT",
Expand Down

0 comments on commit 44d62e0

Please sign in to comment.