diff --git a/netlify.toml b/netlify.toml index 6cb28aa..27a0343 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 = "20" [build] publish = "demo/.vitepress/dist" - command = "npx pnpm i --store=node_modules/.pnpm-store && npm run demo-build" + command = "pnpm demo-build"