Add oxlint to required deploy checks.

This commit is contained in:
Chris Parsons 2026-03-22 20:33:43 -07:00
parent b672c50d78
commit 0139d134cf

View file

@ -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