From 0139d134cf169b675f20fef0fe51dc4a352338b9 Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Sun, 22 Mar 2026 20:33:43 -0700 Subject: [PATCH] Add oxlint to required deploy checks. --- .github/workflows/deploy.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6f7cccc..febd41e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -72,9 +72,31 @@ jobs: - name: 🔎 Type check run: npm run typecheck + lint: + name: 🔍 Lint + runs-on: ubuntu-latest + steps: + - name: 🛑 Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.12.1 + + - name: ⬇️ Checkout repo + uses: actions/checkout@v4 + + - name: ⎔ Setup node + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'npm' + + - name: 📥 Install dependencies + run: npm ci + + - name: 🔍 Lint (oxlint) + run: npm run lint + build: name: 🐳 Build - needs: [test, typecheck] + needs: [test, typecheck, lint] # only build/deploy main branch on pushes if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} runs-on: ubuntu-latest