From 7bb80989c47191dc026c37efb6591d6ca3e0d901 Mon Sep 17 00:00:00 2001 From: mahseiah_ai Date: Tue, 5 May 2026 14:59:59 -0400 Subject: [PATCH] ci: add Gitea Actions workflow for test validation - Runs on PRs targeting main and pushes to main - Uses oven-sh/setup-bun@v2 to provision Bun - Runs bun test v1.3.12 (700fc117) to validate the library --- .gitea/workflows/validate.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/validate.yml diff --git a/.gitea/workflows/validate.yml b/.gitea/workflows/validate.yml new file mode 100644 index 0000000..8d3a642 --- /dev/null +++ b/.gitea/workflows/validate.yml @@ -0,0 +1,25 @@ +name: Validate + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Bun + uses: oven-sh/setup-bun@v2 + with: + bun-version: latest + + - name: Install dependencies + run: bun install + + - name: Run tests + run: bun test