Skip to content

fix: fix commit lint #12

fix: fix commit lint

fix: fix commit lint #12

Workflow file for this run

name: Commitlint
on: [pull_request]
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install -g @commitlint/cli @commitlint/config-conventional
- run: |
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
- run: commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose