mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 01:10:16 +08:00
build: 更新 GitHub Actions 工作流以忽略不必要的文件并优化依赖安装
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -13,6 +13,18 @@ on:
|
|||||||
- ".gitignore"
|
- ".gitignore"
|
||||||
- ".github/**"
|
- ".github/**"
|
||||||
- "!.github/workflows/build.yml"
|
- "!.github/workflows/build.yml"
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
- "**.spec.js"
|
||||||
|
- ".idea"
|
||||||
|
- ".vscode"
|
||||||
|
- ".dockerignore"
|
||||||
|
- "Dockerfile"
|
||||||
|
- ".gitignore"
|
||||||
|
- ".github/**"
|
||||||
|
- "!.github/workflows/build.yml"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -33,8 +45,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
npm install --production
|
|
||||||
npm install electron-app-universal-protocol-client
|
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
- name: Build Release Files
|
- name: Build Release Files
|
||||||
|
|||||||
@@ -29,8 +29,8 @@
|
|||||||
"@dotenvx/dotenvx": "^1.51.4",
|
"@dotenvx/dotenvx": "^1.51.4",
|
||||||
"@vitejs/plugin-vue": "^5.0.4",
|
"@vitejs/plugin-vue": "^5.0.4",
|
||||||
"electron": "^39.2.7",
|
"electron": "^39.2.7",
|
||||||
|
"electron-app-universal-protocol-client": "github:witcher112/electron-app-universal-protocol-client",
|
||||||
"electron-builder": "^24.13.3",
|
"electron-builder": "^24.13.3",
|
||||||
"electron-app-universal-protocol-client": "^2.1.1",
|
|
||||||
"typescript": "^5.4.2",
|
"typescript": "^5.4.2",
|
||||||
"vite": "^5.1.5",
|
"vite": "^5.1.5",
|
||||||
"vite-plugin-electron": "^0.28.4",
|
"vite-plugin-electron": "^0.28.4",
|
||||||
|
|||||||
Reference in New Issue
Block a user