Skip to content

ci!: add automated package release cycle (#329) #8

ci!: add automated package release cycle (#329)

ci!: add automated package release cycle (#329) #8

name: Lint Commit Messages
on:
push:
branches:
- main
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
with:
fetch-depth: 0 # Ensures commit history is pulled
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
- name: Install Dependencies
run: yarn install
- name: Lint Commit Messages
run: npx commitlint --from=HEAD~1 --to=HEAD --verbose