From 6293aebc4668be18658bfbfeb50355496ba93704 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Sat, 13 Dec 2025 14:15:07 +0100 Subject: [PATCH] feature: Streamline build pipeline to only run lint and build checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove expensive cross-platform Electron packaging from the build pipeline since it duplicates work done by the release pipeline. The build pipeline now focuses on quick quality checks (linting + TypeScript compilation) for every PR and main branch push. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/build.yml | 74 ++++--------------------------------- 1 file changed, 7 insertions(+), 67 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e2377c..3977b61 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build and Package +name: Build and Lint on: push: @@ -8,8 +8,8 @@ on: workflow_dispatch: jobs: - build-web: - name: Build Web Application + build-and-lint: + name: Build and Lint runs-on: ubuntu-latest steps: @@ -25,68 +25,8 @@ jobs: - name: Install dependencies run: npm ci - - name: Build web application + - name: Run linter + run: npm run lint + + - name: Build application run: npm run build - - - name: Upload web build artifacts - uses: actions/upload-artifact@v4 - with: - name: web-build - path: dist/ - retention-days: 7 - - build-electron: - name: Build Electron - ${{ matrix.os }} - runs-on: ${{ matrix.os }} - - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version-file: ".node-version" - cache: "npm" - - - name: Install dependencies - run: npm ci - - - name: Package Electron app - run: npm run package - - - name: Create distributables - run: npm run make - - - name: Upload Windows artifacts - if: matrix.os == 'windows-latest' - uses: actions/upload-artifact@v4 - with: - name: electron-windows - path: | - out/make/squirrel.windows/**/*.exe - out/make/squirrel.windows/**/*.nupkg - retention-days: 30 - - - name: Upload macOS artifacts - if: matrix.os == 'macos-latest' - uses: actions/upload-artifact@v4 - with: - name: electron-macos - path: | - out/make/zip/**/*.zip - retention-days: 30 - - - name: Upload Linux artifacts - if: matrix.os == 'ubuntu-latest' - uses: actions/upload-artifact@v4 - with: - name: electron-linux - path: | - out/make/deb/**/*.deb - out/make/rpm/**/*.rpm - retention-days: 30