From 03c6652157ac3f4461c33b051ba2feca25edafde Mon Sep 17 00:00:00 2001 From: Giles Westwood Date: Mon, 18 Nov 2024 19:34:42 +0000 Subject: [PATCH] fix/limit-build-artifacts-to-reduce-cache (#2399) * limit yarn bld to only one artifact and add safety timeout * drop extra bld test from pr merge --------- Co-authored-by: Angel Montenegro --- .github/workflows/bld_test_rel_tag.yml | 9 --------- .github/workflows/bld_yarn.yml | 8 +++++--- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/bld_test_rel_tag.yml b/.github/workflows/bld_test_rel_tag.yml index f256a4002..a5db5e3a3 100644 --- a/.github/workflows/bld_test_rel_tag.yml +++ b/.github/workflows/bld_test_rel_tag.yml @@ -81,13 +81,6 @@ jobs: - format_i18n - format_prettier - # this is a test - bld_yarn: - uses: ./.github/workflows/bld_yarn.yml - needs: - - format_i18n - - format_prettier - ############################################################################## # uses maven to build via yarn into a war file bld_mvn: @@ -95,7 +88,6 @@ jobs: secrets: inherit # pass all secrets for uploading assets needs: - lint - - bld_yarn - format_i18n - format_prettier permissions: @@ -113,7 +105,6 @@ jobs: secrets: inherit # pass all secrets for uploading assets needs: - lint - - bld_yarn - format_i18n - format_prettier permissions: diff --git a/.github/workflows/bld_yarn.yml b/.github/workflows/bld_yarn.yml index ebf705034..e9d3a0ce8 100644 --- a/.github/workflows/bld_yarn.yml +++ b/.github/workflows/bld_yarn.yml @@ -28,10 +28,12 @@ jobs: matrix: include: - artifact_name: prod - - artifact_name: sandbox - - artifact_name: qa - - artifact_name: int +# yarn build is only used as a test +# - artifact_name: sandbox +# - artifact_name: qa +# - artifact_name: int runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4