Files
md-blog/.github/workflows/lint.yml
T
klemek b6a5460a04
Lint / TypeScript (push) Successful in 18m9s
Lint / ESLint (push) Successful in 18m48s
Lint / Oxlint (push) Successful in 18m32s
Deploy / Build (push) Successful in 19m31s
Deploy / Deploy to Stapler (push) Successful in 3m54s
fix(ci): bug with Type Check job name
2026-05-02 21:16:42 +02:00

54 lines
1.3 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: Create fake articles
run: mv articles.example articles
- 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: Create fake articles
run: mv articles.example articles
- 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: Create fake articles
run: mv articles.example articles
- name: Run type check
run: bun run type-check