Enhance test for HTML class attribute changes by adding validation fo… #1602
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: Commit Check | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request_target: | |
types: | |
- opened | |
- reopened | |
- edited | |
- synchronize | |
jobs: | |
check: | |
name: "commit-check" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [22] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- run: pnpm submodules | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm run commit-check |