From 5a72dc9e8e8ff295e386f70e934e2e4cca2ffc14 Mon Sep 17 00:00:00 2001 From: Paul Spenke Date: Thu, 2 Apr 2026 18:04:33 +0200 Subject: [PATCH] Add GitHub Actions workflow for build checks on pull requests - Configure `.gitea/workflows/build.yaml` to run builds on `main` branch pull requests. - Include steps for dependency installation, Node.js setup, and build execution using pnpm. --- .gitea/workflows/build.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..2ef632f --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,29 @@ +name: Build Check +on: + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 10 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install + + - name: Run Build + run: pnpm run build