Skip to content

Commit df1a744

Browse files
committed
docs: pnpm workaround
1 parent 990a088 commit df1a744

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netlify.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[build.environment]
22
NODE_VERSION = "18"
3+
NPM_FLAGS = "--version" # prevent Netlify npm install
34
[build]
45
publish = "docs/.vitepress/dist"
5-
command = "pnpm run docs:build"
6+
command = "npx pnpm i --store=node_modules/.pnpm-store --frozen-lockfile && npm run docs:build"
67
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF docs package.json pnpm-lock.yaml netlify.toml"

0 commit comments

Comments
 (0)