diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2856a06..5570530d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,10 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + contents: write + id-token: write + steps: - uses: actions/checkout@v3 with: @@ -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 diff --git a/package.json b/package.json index 8e8401f8..b343e4cb 100644 --- a/package.json +++ b/package.json @@ -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",