ci(lint): refactor lint ci
Deploy / Deploy to Stapler (push) Has been cancelled
Deploy / Build (push) Has been cancelled
Lint / ESLint (push) Has been cancelled
Lint / TypeScript (push) Has been cancelled

This commit is contained in:
2026-05-02 21:06:03 +02:00
parent 01ad2d6af2
commit d8636bd3e4
3 changed files with 36 additions and 46 deletions
+34
View File
@@ -0,0 +1,34 @@
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
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