ci: fix pnpm7 usage (#8125)

This commit is contained in:
Bjorn Lu 2022-05-12 02:55:14 +08:00 committed by GitHub
parent 272a2527a8
commit adef5bb8ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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 }}

View File

@ -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"