build: 更新 GitHub Actions 工作流以忽略不必要的文件并优化依赖安装

This commit is contained in:
Elysia
2026-01-18 00:05:59 +08:00
parent 184072d5d2
commit c8965297f2
2 changed files with 13 additions and 3 deletions

View File

@@ -13,6 +13,18 @@ on:
- ".gitignore"
- ".github/**"
- "!.github/workflows/build.yml"
pull_request:
branches: [main]
paths-ignore:
- "**.md"
- "**.spec.js"
- ".idea"
- ".vscode"
- ".dockerignore"
- "Dockerfile"
- ".gitignore"
- ".github/**"
- "!.github/workflows/build.yml"
jobs:
build:
@@ -33,8 +45,6 @@ jobs:
- name: Install Dependencies
run: |
npm install --production
npm install electron-app-universal-protocol-client
npm install
- name: Build Release Files