Skip to content

Commit 5433a85

Browse files
committed
ci: use trusted publisher
refs e18e/ecosystem-issues#201
1 parent 9ccf142 commit 5433a85

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,4 @@ jobs:
3636
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
3737

3838
- name: Publish package
39-
run: pnpm run ci-publish ${{ github.ref_name }}
40-
env:
41-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
39+
run: npm i -g npm@^11.5.2 && pnpm run ci-publish ${{ github.ref_name }}

scripts/publishCI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import { publish } from '@vitejs/release-scripts'
22

3-
publish({ defaultPackage: 'vite', provenance: true, packageManager: 'pnpm' })
3+
publish({ defaultPackage: 'vite', packageManager: 'pnpm' })

0 commit comments

Comments
 (0)