From dddd06f529ef9c39f34abd0d681927f03c635016 Mon Sep 17 00:00:00 2001 From: Alec Larson <1925840+aleclarson@users.noreply.github.com> Date: Sun, 21 Jul 2024 13:52:39 -0400 Subject: [PATCH] ci: lint after bundle impact is refreshed --- .github/workflows/check-pr.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 148942ac..02b54158 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -39,10 +39,7 @@ jobs: cache: pnpm - run: pnpm install - run: pnpm install @commitlint/config-conventional@19.x - - name: Lint - run: pnpm lint - - name: Check PR Title - run: echo "$PR_TITLE" | pnpm -s dlx commitlint@19.x + - name: Refresh Bundle Impact uses: actions/github-script@v6 if: ${{ github.head_ref != 'next' }} @@ -54,3 +51,9 @@ jobs: script: | const { run } = require('./scripts/pr-bundle-impact.cjs'); run({ github, core, context }); + + - name: Lint + run: pnpm lint + + - name: Check PR Title + run: echo "$PR_TITLE" | pnpm -s dlx commitlint@19.x