Skip to content

Commit 3d7dcc1

Browse files
committed
ci: use trusted publisher
1 parent d3e3201 commit 3d7dcc1

File tree

3 files changed

+78
-76
lines changed

3 files changed

+78
-76
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,4 @@ jobs:
4040
run: npm i -g [email protected]
4141

4242
- name: Publish package
43-
run: pnpm run ci-publish ${{ github.ref_name }}
44-
env:
45-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
43+
run: npm i -g npm@^11.5.2 && pnpm run ci-publish ${{ github.ref_name }}

pnpm-lock.yaml

Lines changed: 77 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/publishCI.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ import { publish } from '@vitejs/release-scripts'
22

33
publish({
44
defaultPackage: 'plugin-vue',
5-
provenance: true,
65
packageManager: 'pnpm',
76
})

0 commit comments

Comments
 (0)