Skip to content

Commit

Permalink
Merge pull request #25 from felipemaion/lint-commits
Browse files Browse the repository at this point in the history
Lint commits
  • Loading branch information
felipemaion authored Oct 22, 2024
2 parents 629a64b + f2d4ed9 commit 50501cf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,17 @@ jobs:
- run: npm ci

- run: npm run lint:eslint:check
commitlint:
name: commitlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "lts/hydrogen"

- run: npm ci

- run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose

0 comments on commit 50501cf

Please sign in to comment.