Skip to content

Dependency image refactor #535

Dependency image refactor

Dependency image refactor #535

Workflow file for this run

name: Commitlint
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
commitlint:
name: Lint commit messages
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
- name: Install npm packages
run: npm ci
- name: Validate PR commits with commitlint
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --verbose