From 0fc881c83966a8d85716aff3a3a896c058ab4dd0 Mon Sep 17 00:00:00 2001 From: Simeon Radivoev Date: Fri, 23 Jan 2026 04:59:54 +0200 Subject: [PATCH] build: Added build workflow --- .forgejo/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .forgejo/workflows/build.yml diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml new file mode 100644 index 0000000..83b424c --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build and Upload Canary +on: + # Allows you to run this manually from the Forgejo UI + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Bun + uses: https://github.com/oven-sh/setup-bun@v2 + with: + bun-version: latest + + - name: Install dependencies + run: bun install --frozen-lockfile + + - name: Build Canary + run: bun run build:canary + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: canary-build + # Replace 'dist' with your actual output folder (e.g., 'out' or 'build') + path: artifacts/ + retention-days: 7 \ No newline at end of file