diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 916c9ff600ce..669796929120 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -39,7 +39,7 @@ jobs: node-version: 18.17 cache: 'yarn' - run: yarn - - run: yarn build:frontend + - run: yarn build:frontend:if-needed - run: yarn lint - run: yarn run test:report # This adds test results as github check to the workflow env: diff --git a/.github/workflows/build_coverage.yaml b/.github/workflows/build_coverage.yaml index 10fae727b4a7..10c98c59e7dc 100644 --- a/.github/workflows/build_coverage.yaml +++ b/.github/workflows/build_coverage.yaml @@ -39,7 +39,7 @@ jobs: node-version: 18.17 cache: 'yarn' - run: yarn - - run: yarn build:frontend + - run: yarn build:frontend:if-needed - run: yarn run test:coverage env: CI: true