Skip to content

build(deps): bump the npm_and_yarn group across 2 directories with 11 updates #504

build(deps): bump the npm_and_yarn group across 2 directories with 11 updates

build(deps): bump the npm_and_yarn group across 2 directories with 11 updates #504

name: Conventional Commits Checker
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
lint-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup NodeJS and NPM
uses: actions/setup-node@v2
with:
node-version: 16.13.2
- name: Add @commitlint
run: npm install -g @commitlint/cli @commitlint/config-conventional
- name: Lint PR and commits
env:
TITLE: ${{ github.event.pull_request.title }}
COMMITS: ${{ github.event.pull_request.commits }}
run: bin/conventional-commits.sh "$TITLE" $COMMITS