chore(#186): ensure CI fails on test failure and improve test reliability #107
Workflow file for this run
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: Conventional commits | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
- reopened | |
jobs: | |
lint_pr_title: | |
name: Lint PR title | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: Install commitlint | |
run: | | |
npm install @commitlint/config-conventional | |
npm install commitlint@latest | |
- name: Lint title | |
run: npx --no -- commitlint <<< "${{ github.event.pull_request.title }}" |