chore: adapt pnpm/action-setup to run on Node@20 (#345) #797
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: 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 | |
pull_request: | |
branches: | |
- main | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: wagoid/commitlint-github-action@v4 |