ci: check formatting
This commit is contained in:
parent
b89afe1b0c
commit
858ee28ef2
1 changed files with 31 additions and 0 deletions
31
.github/workflows/check-lint.yml
vendored
Normal file
31
.github/workflows/check-lint.yml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
name: Check Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Run linting checks
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: 1.2.2
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
|
||||
- name: Run lint
|
||||
run: bun run lint
|
||||
Loading…
Add table
Add a link
Reference in a new issue