Skip to content

Commit

Permalink
docs: pnpm workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework committed Jan 3, 2023
1 parent 990a088 commit df1a744
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[build.environment]
NODE_VERSION = "18"
NPM_FLAGS = "--version" # prevent Netlify npm install
[build]
publish = "docs/.vitepress/dist"
command = "pnpm run docs:build"
command = "npx pnpm i --store=node_modules/.pnpm-store --frozen-lockfile && npm run docs:build"
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF docs package.json pnpm-lock.yaml netlify.toml"

0 comments on commit df1a744

Please sign in to comment.