[Feat] add commitlint configuration and linting workflow #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: push | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup nodejs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
- name: Install commit message convention lib | |
run: npm i commitlint-config-wizardoc -D | |
- name: Check lint name convention | |
uses: wagoid/commitlint-github-action@v4 |