test: update CI test workflow to use node 20 and 22 #350
Workflow file for this run
This file contains hidden or 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: Lint Commit Messages | |
| on: | |
| # Trigger the workflow on push or pull request, | |
| # but only for the main branch | |
| # See: https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012 | |
| push: | |
| branches: | |
| - main | |
| - gh-pages | |
| pull_request: | |
| branches: | |
| - main | |
| - gh-pages | |
| jobs: | |
| commitlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: wagoid/commitlint-github-action@v6 |