Files
tape-record/.github/workflows/lint.yml
T
klemek 9ad6f29699
Deploy / Build (push) Successful in 9m55s
Lint / ESLint (push) Failing after 9m42s
Deploy / Deploy to Stapler (push) Has been cancelled
Lint / TypeScript (push) Has been cancelled
ci(lint): refactor lint ci
2026-05-02 21:08:32 +02:00

37 lines
825 B
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
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