mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 14:48:41 +00:00
ci: fix pnpm7 usage (#8125)
This commit is contained in:
parent
272a2527a8
commit
adef5bb8ce
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -35,6 +35,6 @@ jobs:
|
||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
|
||||
|
||||
- name: Publish package
|
||||
run: pnpm run ci-publish -- ${{ github.ref_name }}
|
||||
run: pnpm run ci-publish ${{ github.ref_name }}
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
@ -3,4 +3,4 @@
|
||||
NPM_FLAGS = "--version" # prevent Netlify npm install
|
||||
[build]
|
||||
publish = "docs/.vitepress/dist"
|
||||
command = "npx pnpm@6 i --store=node_modules/.pnpm-store --frozen-lockfile && npx pnpm@6 run ci-docs"
|
||||
command = "npx pnpm i --store=node_modules/.pnpm-store --frozen-lockfile && npm run ci-docs"
|
Loading…
Reference in New Issue
Block a user