Skip to content

add github workflow to linting the project #1

add github workflow to linting the project

add github workflow to linting the project #1

Workflow file for this run

name: Lint Project
on:
- push
- pull_request
env:
CI: true
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- name: Set up Node
uses: actions/setup-node@v6
with:
node-version: 24
- name: Install dependencies
run: npm ci
- name: Lint project
run: lefthook run pre-commit --all-files