From 18ba9ead4c8cf80401509fb6ec095ada15226184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Schie=C3=9Fl?= <150372753+johannesschiessl@users.noreply.github.com> Date: Tue, 4 Aug 2026 19:00:19 +0200 Subject: [PATCH 1/3] Add GitHub CI workflow - Check formatting, lint, types, and tests - Build the web and desktop applications --- .github/workflows/ci.yml | 54 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..20cc77c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,54 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: ci-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + verify: + name: Verify + runs-on: ubuntu-latest + timeout-minutes: 20 + + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up pnpm + uses: pnpm/action-setup@v4 + with: + version: 11.9.0 + run_install: false + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 24 + cache: pnpm + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Check formatting, lint, and types + run: pnpm exec vp check + + - name: Run tests + run: pnpm exec vp run -r test + + - name: Build web application + run: pnpm --filter @showtime/web build + + - name: Build desktop application + run: | + pnpm --filter @showtime/desktop exec tsc + pnpm --filter @showtime/desktop exec vp build --config electron.vite.config.ts From 8215a921cf05b4aa8bd8e7df2e5685374421225e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Schie=C3=9Fl?= <150372753+johannesschiessl@users.noreply.github.com> Date: Tue, 4 Aug 2026 19:23:12 +0200 Subject: [PATCH 2/3] Use the desktop build script in CI - Remove the redundant standalone web build step - Run the desktop package build command --- .github/workflows/ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20cc77c..4a044dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,10 +45,5 @@ jobs: - name: Run tests run: pnpm exec vp run -r test - - name: Build web application - run: pnpm --filter @showtime/web build - - name: Build desktop application - run: | - pnpm --filter @showtime/desktop exec tsc - pnpm --filter @showtime/desktop exec vp build --config electron.vite.config.ts + run: pnpm --filter @showtime/desktop build From 2b106816c833bb2ee8ff12bd877846ad4218d0ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Schie=C3=9Fl?= <150372753+johannesschiessl@users.noreply.github.com> Date: Tue, 4 Aug 2026 19:26:45 +0200 Subject: [PATCH 3/3] Revert "Use the desktop build script in CI" This reverts commit 8215a921cf05b4aa8bd8e7df2e5685374421225e. --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a044dd..20cc77c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,5 +45,10 @@ jobs: - name: Run tests run: pnpm exec vp run -r test + - name: Build web application + run: pnpm --filter @showtime/web build + - name: Build desktop application - run: pnpm --filter @showtime/desktop build + run: | + pnpm --filter @showtime/desktop exec tsc + pnpm --filter @showtime/desktop exec vp build --config electron.vite.config.ts