feat: Add @commitlint/load as external dependency #68
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 📝 Lint PR title | |
on: | |
pull_request: | |
types: [opened, edited, reopened, synchronize] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🔖Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: 📦Setup PNPM | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: 🌳Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: pnpm | |
- name: 🛠️Install dependencies for prlint | |
run: pnpm install @commitlint/config-conventional | |
- name: 🧾Print versions | |
run: | | |
git --version | |
node --version | |
pnpm --version | |
pnpm commitlint --version | |
- name: 📝Validate PR title with commitlint | |
uses: ./ |