Skip to content

chore: update dependencies #61

chore: update dependencies

chore: update dependencies #61

Workflow file for this run

name: Commit Lint
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22.x
registry-url: "https://registry.npmjs.org"
cache: "npm"
- name: Install dependencies 📦
run: npm install @commitlint/cli @commitlint/config-conventional
- name: Run PR title check 💬
if: ${{ github.event_name == 'pull_request' }}
run: echo "${{ github.event.pull_request.title }}" | npx commitlint
- name: Run commit message check 💬
if: ${{ github.event_name != 'pull_request' }}
run: npx commitlint --from HEAD~1 --to HEAD