fix: 构建前删除 package-lock.json,让 Windows 重新解析 tailwindcss 原生绑定
Some checks are pending
Build Windows Installer / build-windows (push) Waiting to run
Some checks are pending
Build Windows Installer / build-windows (push) Waiting to run
This commit is contained in:
parent
ec105b3828
commit
df2488c653
4
.github/workflows/build-windows.yml
vendored
4
.github/workflows/build-windows.yml
vendored
@ -46,7 +46,9 @@ jobs:
|
|||||||
node-version: "18"
|
node-version: "18"
|
||||||
|
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
run: npm install
|
run: |
|
||||||
|
Remove-Item package-lock.json -ErrorAction SilentlyContinue
|
||||||
|
npm install
|
||||||
|
|
||||||
- name: Build renderer
|
- name: Build renderer
|
||||||
run: npx vite build --config vite.config.mjs
|
run: npx vite build --config vite.config.mjs
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user