Files
tout-doux/.github/workflows/ts-lint.yml
T
klemek 34fadcf6f6
Python Lint CI / ruff-format-check (push) Successful in 7m27s
Python Lint CI / ty (push) Successful in 6m57s
Python Lint CI / ruff (push) Successful in 7m51s
ci: docker build CI
2026-07-14 15:26:51 +02:00

59 lines
1.2 KiB
YAML

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