From 13ac37df8e135fe6b4990fac6f149a36a19e5409 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Fri, 23 Dec 2022 22:52:05 +0800 Subject: [PATCH] chore(docs): workaround netlify pnpm build issue (#11477) --- netlify.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index b5ea297a34bf29..10bc161218e1cc 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,7 @@ [build.environment] NODE_VERSION = "16" + NPM_FLAGS = "--version" # prevent Netlify npm install [build] publish = "docs/.vitepress/dist" - command = "pnpm ci-docs" + command = "npx pnpm i --store=node_modules/.pnpm-store --frozen-lockfile && npm run ci-docs" ignore = "./scripts/docs-check.sh"