Files
coverify/.github/workflows/lint.yml
T
klemek 644a790de9
Lint / ESLint (push) Successful in 5m58s
Lint / Oxlint (push) Successful in 7m3s
Lint / TypeScript (push) Successful in 7m56s
Deploy / Build (push) Successful in 8m35s
Deploy / Deploy to Stapler (push) Successful in 6m38s
ci: detect changes and use actions/stapler-deploy
2026-05-02 23:23:45 +02:00

59 lines
1.2 KiB
YAML

name: Lint
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
paths:
- '.github/workflows/lint.yml'
- 'package.json'
- 'bun.lock'
- 'src/**'
- '.oxlintrc.json'
- 'eslint.config.ts'
- 'tsconfig.*'
- 'env.d.ts'
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