Skip to content

Commit

Permalink
ci: clean Netlify scripts for pnpm (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework authored Dec 21, 2022
1 parent 538a0d9 commit ab5798f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[build.environment]
NODE_VERSION = "16"
NPM_FLAGS = "--version" # prevent Netlify npm install
NODE_VERSION = "18"
[build]
publish = "docs/.vitepress/dist"
command = "npm i pnpm -g && 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"
publish = "docs/.vitepress/dist"
command = "pnpm run docs:build"
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF docs package.json pnpm-lock.yaml netlify.toml"

0 comments on commit ab5798f

Please sign in to comment.