diff --git a/netlify.toml b/netlify.toml index 3f5f1c48..a11d7d7d 100644 --- a/netlify.toml +++ b/netlify.toml @@ -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"