Merge pull request #102 from bakaqc/feature/implement-user-list #265
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: Commit message validation | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
- feature/* | |
- hotfix/* | |
jobs: | |
validate: | |
name: Validate commit messages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.18.1 | |
- name: Install pnpm | |
run: | | |
npm i -g pnpm | |
- name: Install dependencies | |
run: | | |
pnpm install | |
- name: Validate commit messages | |
run: | | |
pnpm commitlint --last --verbose |