Skip to content

Commit

Permalink
ci: commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed Dec 9, 2024
1 parent 7d06b9e commit 6f577e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run lint
- name: Validate with commitlint
run: npx commitlint --last --verbose
- run: npm run validate
- run: npm test
- name: Semantic Release
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -17,6 +19,8 @@ jobs:
run: npm ci
- name: Run linters
run: npm run lint
- name: Validate with commitlint
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
- name: Run Build
run: npm run validate
- name: Test
Expand Down

0 comments on commit 6f577e3

Please sign in to comment.