feat: add commitlint

This commit is contained in:
Krzysztof Durek
2024-07-18 12:06:13 +02:00
parent 1e4217315b
commit 1f09c06274
4 changed files with 522 additions and 17 deletions

View File

@@ -18,6 +18,8 @@ jobs:
steps:
- name: Check out the code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
@@ -31,6 +33,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Run commitlint
run: pnpm commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
- name: Run format and lint
run: pnpm biome ci