Skip to content

feat(chore): performance #39

feat(chore): performance

feat(chore): performance #39

name: Run Commit lint
on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize
jobs:
main:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "20.x"
- name: Install dependencies
run: npm i -g pnpm && pnpm i
- name: Run commitlint
env:
COMMIT_MESSAGE: ${{ github.event.pull_request.title }}
run: echo $COMMIT_MESSAGE | npx commitlint