Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name: Run commitlint on pull request
- on: pull_request
- jobs:
- run-commitlint-on-pull-request:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 0
- ref: ${{ github.event.pull_request.head.sha }}
- - name: Setup Node
- uses: actions/setup-node@v2
- with:
- node-version: 14.x
- - name: Install dependencies
- run: npm install
- - name: Validate all commits from PR
- run: npx commitlint --verbose
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement