Skip to content

Adding lint commit and husky to root configuration #7

Adding lint commit and husky to root configuration

Adding lint commit and husky to root configuration #7

Workflow file for this run

name: Lint Commit Messages
on: [pull_request]
jobs:
lint-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Lint commit messages
run: npm run lint:commit