From 1a59ab42bfebe5da2d32e8a63a57632726cc517f Mon Sep 17 00:00:00 2001 From: Devin Zuczek Date: Fri, 31 Jul 2026 14:02:55 -0400 Subject: [PATCH] add github workflow to test --- .github/workflows/test.yml | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..868ed12 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,43 @@ +name: Test + +on: + push: + branches: [main] + pull_request: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + +jobs: + test: + name: Regression tests + runs-on: ubuntu-latest + timeout-minutes: 30 + + steps: + - uses: actions/checkout@v5 + + - name: Install just + uses: extractions/setup-just@v3 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + + - name: Install Node + uses: actions/setup-node@v6 + with: + node-version: 24 + cache: pnpm + + - name: Install Bun + uses: oven-sh/setup-bun@v2 + with: + bun-version: 1.3.14 + + - name: Install dependencies + run: just install + + - name: Test + run: just test