From 7c92e532b617ec4d6912f76d97b9f68381bb6667 Mon Sep 17 00:00:00 2001 From: Giles Westwood Date: Fri, 15 Nov 2024 12:01:46 +0000 Subject: [PATCH 1/2] limit yarn bld to only one artifact and add safety timeout --- .github/workflows/bld_yarn.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 From 08e330c49f0d4d4d9c69c2dfaed05b819d1f6b76 Mon Sep 17 00:00:00 2001 From: Giles Westwood Date: Fri, 15 Nov 2024 12:03:03 +0000 Subject: [PATCH 2/2] drop extra bld test from pr merge --- .github/workflows/bld_test_rel_tag.yml | 9 --------- 1 file changed, 9 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: