test: refactor old tests and cleanup test helpers #2293
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: PR Commitlint | |
on: | |
pull_request: | |
types: [opened, synchronize, edited] | |
jobs: | |
check: | |
name: Check PR title | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: npm ci | |
- name: Check PR title with commitlint | |
run: echo "${{ github.event.pull_request.title }}" | npx commitlint |