Fix unable to run the clear cache command normally #3086 (#3088)

* Create node.js.yml

* Fix unable to run the clear cache command normally #3086

This command will clear the pnpm cache and recompile through vite

* Maintain NPM packaging command
This commit is contained in:
James Zow
2023-09-28 16:31:40 +08:00
committed by GitHub
parent 690d887680
commit b5bdb53555

View File

@@ -20,7 +20,7 @@
"build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build",
"build:analyze": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build --mode analyze",
"build:docker": "vite build --mode docker",
"build:no-cache": "pnpm clean:cache && npm run build",
"build:no-cache": "pnpm store prune && npm run build",
"build:test": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build --mode test",
"commit": "czg",
"dev": "pnpm vite",