From 45f08855338855b82004c9eff70461a3f09fc1d3 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 12 Apr 2025 13:07:48 -0400 Subject: [PATCH] fix: bundle-size CI (#8940) --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82f831b838..8984265c1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,6 +63,7 @@ jobs: runs-on: ubuntu-latest outputs: server: ${{ steps.filter.outputs.server }} + app: ${{ steps.filter.outputs.app }} steps: - uses: actions/checkout@v4 - uses: dorny/paths-filter@v2 @@ -81,7 +82,7 @@ jobs: - 'yarn.lock' test: - needs: build + needs: [build, changes] if: ${{ needs.changes.outputs.app == 'true' }} runs-on: ubuntu-latest strategy: @@ -143,7 +144,7 @@ jobs: yarn test --maxWorkers=2 $TESTFILES bundle-size: - needs: [build, types] + needs: [build, types, changes] if: ${{ needs.changes.outputs.app == 'true' }} runs-on: ubuntu-latest steps: @@ -161,3 +162,4 @@ jobs: with: key: ${{ secrets.RELATIVE_CI_KEY }} token: ${{ secrets.GITHUB_TOKEN }} + webpackStatsFile: ./build/app/webpack-stats.json