Browse Source

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
pull/3096/head
James Zow 2 years ago
committed by GitHub
parent
commit
b5bdb53555
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      package.json

2
package.json

@ -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",

Loading…
Cancel
Save