Skip to content

Adding lint commit and husky to root configuration #10

Adding lint commit and husky to root configuration

Adding lint commit and husky to root configuration #10

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'
cache: "npm"
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Lint commit messages
run: npm run lint:commit