Skip to content

chore: update major-update (major) #48

chore: update major-update (major)

chore: update major-update (major) #48

Workflow file for this run

name: CI
on: [pull_request]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: dafnik/setup-node-pnpm@v2
with:
install-ignore-scripts: true
- name: Validate
run: pnpm exec prettier --check .
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: dafnik/setup-node-pnpm@v2
with:
install-ignore-scripts: true
- name: Validate current commit (last commit) with commitlint
if: github.event_name == 'push'
run: pnpm exec commitlint --from HEAD~1 --to HEAD --verbose
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: pnpm exec commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose