Files
legume/.github/workflows/lint.yml
T
klemek a69870ad9f
Lint / TypeScript (push) Successful in 7m31s
Lint / Oxlint (push) Successful in 8m18s
Lint / ESLint (push) Successful in 8m19s
Deploy / Build (push) Successful in 9m26s
Deploy / Deploy to Stapler (push) Successful in 3m29s
refactor: refresh from template
2026-05-02 21:49:49 +02:00

48 lines
1.0 KiB
YAML

name: Lint
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
on: [push, workflow_dispatch]
jobs:
lint-eslint:
name: "ESLint"
runs-on: ubuntu-latest
steps:
- name: Set up Bun
uses: actions/setup-bun@v2
- name: Checkout repository
uses: actions/checkout@v6
- name: Install dependencies
run: bun ci
- name: Run ESLint
run: bun run lint:eslint
lint-oxlint:
name: "Oxlint"
runs-on: ubuntu-latest
steps:
- name: Set up Bun
uses: actions/setup-bun@v2
- name: Checkout repository
uses: actions/checkout@v6
- name: Install dependencies
run: bun ci
- name: Run Oxlint
run: bun run lint:oxlint
tsc:
name: 'TypeScript'
runs-on: ubuntu-latest
steps:
- name: Set up Bun
uses: actions/setup-bun@v2
- name: Checkout repository
uses: actions/checkout@v6
- name: Install dependencies
run: bun ci
- name: Run type check
run: bun run type-check