Skip to content

ci: add publint to check on package json and avoid mistakes #13182

ci: add publint to check on package json and avoid mistakes

ci: add publint to check on package json and avoid mistakes #13182

name: Pull Request
on:
pull_request:
types: ["opened", "edited", "reopened", "synchronize"]
jobs:
check-title:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: 20
cache: "pnpm"
- run: pnpm install --prod
- name: Check PR title
env:
TITLE: ${{ github.event.pull_request.title }}
run: echo "$TITLE" | pnpm commitlint