diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c71e441..cfbc07c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Collect Workflow Telemetry uses: catchpoint/workflow-telemetry-action@v2 @@ -41,6 +43,9 @@ jobs: - name: Install dependencies run: yarn install --immutable --inline-builds + - name: Validate PR commits with commitlint + run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose + - name: Format run: yarn format-check