Skip to content

Commit 13ac37d

Browse files
authored
chore(docs): workaround netlify pnpm build issue (#11477)
1 parent 7a97a04 commit 13ac37d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netlify.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[build.environment]
22
NODE_VERSION = "16"
3+
NPM_FLAGS = "--version" # prevent Netlify npm install
34
[build]
45
publish = "docs/.vitepress/dist"
5-
command = "pnpm ci-docs"
6+
command = "npx pnpm i --store=node_modules/.pnpm-store --frozen-lockfile && npm run ci-docs"
67
ignore = "./scripts/docs-check.sh"

0 commit comments

Comments
 (0)