diff --git a/.github/workflows/bd-fe.yml b/.github/workflows/bd-fe.yml index 3eedb663..06f4f03b 100644 --- a/.github/workflows/bd-fe.yml +++ b/.github/workflows/bd-fe.yml @@ -97,11 +97,16 @@ jobs: front - name: 🎫 Pass Early + id: pass-early uses: ./.github/actions/pass-early with: WORKSPACE_ROOT: . TEST_DIRECTORY: front + - name: Gate + if: ${{ steps.pass-early.outputs.PASS_EARLY == 'true' }} + run: exit 0 + - name: 🛢 Install Dependencies uses: ./.github/actions/install-cache-deps with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8cde8f16..30cc03a7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -41,13 +41,15 @@ jobs: WORKSPACE_ROOT: . TEST_DIRECTORY: front + - name: Gate + if: ${{ steps.pass-early.outputs.PASS_EARLY == 'true' }} + run: exit 0 + - name: 🛢 Install Dependencies - if: ${{ steps.pass-early.outputs.PASS_EARLY == 'false' }} uses: ./.github/actions/install-cache-deps with: WORKSPACE_ROOT: front - name: 👓 Check - if: ${{ steps.pass-early.outputs.PASS_EARLY == 'false' }} run: | cd front && pnpm check && pnpm lint diff --git a/.github/workflows/test-backstop.yml b/.github/workflows/test-backstop.yml index d03712ca..32c97f4e 100644 --- a/.github/workflows/test-backstop.yml +++ b/.github/workflows/test-backstop.yml @@ -61,11 +61,16 @@ jobs: front - name: 🎫 Pass Early + id: pass-early uses: ./.github/actions/pass-early with: WORKSPACE_ROOT: . TEST_DIRECTORY: front + - name: Gate + if: ${{ steps.pass-early.outputs.PASS_EARLY == 'true' }} + run: exit 0 + - name: 🛢 Install Dependencies uses: ./.github/actions/install-cache-deps with: @@ -78,7 +83,7 @@ jobs: - name: 👀 Testing Bitmaps id: backstop continue-on-error: true - run: cd _ci/backstop && pnpm exec playwright install && ENV=$DEPLOY_ENV pnpm test.gh + run: cd _ci/backstop && ENV=$DEPLOY_ENV pnpm test.gh - name: Summarize Failures if: steps.backstop.outcome != 'success' diff --git a/.github/workflows/test-lighthouse.yml b/.github/workflows/test-lighthouse.yml index 7a024ec2..8e05dcaf 100644 --- a/.github/workflows/test-lighthouse.yml +++ b/.github/workflows/test-lighthouse.yml @@ -48,11 +48,16 @@ jobs: front - name: 🎫 Pass Early + id: pass-early uses: ./.github/actions/pass-early with: WORKSPACE_ROOT: . TEST_DIRECTORY: front + - name: Gate + if: ${{ steps.pass-early.outputs.PASS_EARLY == 'true' }} + run: exit 0 + - name: 🛢 Install Dependencies uses: ./.github/actions/install-cache-deps with: @@ -74,7 +79,6 @@ jobs: done <<<"$urls" - name: ⚓️ Drop Anchor - if: always() run: | ls -la _ci/perf/lighthouse sudo _ci/perf/_utils/landfall.sh _ci/perf/lighthouse @@ -82,7 +86,6 @@ jobs: echo "Lighthouse Reports" >> $GITHUB_STEP_SUMMARY - name: ⬆ Upload Reports - if: always() uses: jakejarvis/s3-sync-action@master with: args: --acl public-read --follow-symlinks --delete --exclude '*.js' --cache-control max-age=2853200,public diff --git a/.github/workflows/test-psi.yml b/.github/workflows/test-psi.yml index fcfc1388..619067b3 100644 --- a/.github/workflows/test-psi.yml +++ b/.github/workflows/test-psi.yml @@ -45,11 +45,16 @@ jobs: front - name: 🎫 Pass Early + id: pass-early uses: ./.github/actions/pass-early with: WORKSPACE_ROOT: . TEST_DIRECTORY: front + - name: Gate + if: ${{ steps.pass-early.outputs.PASS_EARLY == 'true' }} + run: exit 0 + - name: 🛢 Install Dependencies uses: ./.github/actions/install-cache-deps with: