From df4db50de7fd54bae0cd246db9fd6668a96d12de Mon Sep 17 00:00:00 2001 From: Ricardo Nain Date: Sun, 10 May 2026 19:35:37 -0400 Subject: [PATCH] config: Add test and build job to release workflow --- .github/workflows/release.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c76aa7..f0962ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,9 +9,35 @@ concurrency: cancel-in-progress: true jobs: + test: + name: Test & Build + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + with: + version: 10 + + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: pnpm + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Run tests + run: pnpm test + + - name: Build + run: pnpm build + release: name: Release runs-on: ubuntu-latest + needs: test permissions: contents: write