Skip to content

Commit

Permalink
fix/limit-build-artifacts-to-reduce-cache (#2399)
Browse files Browse the repository at this point in the history
* limit yarn bld to only one artifact and add safety timeout

* drop extra bld test from pr merge

---------

Co-authored-by: Angel Montenegro <[email protected]>
  • Loading branch information
gilesw and amontenegro authored Nov 18, 2024
1 parent 4a87a99 commit 03c6652
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/bld_test_rel_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,13 @@ 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:
uses: ./.github/workflows/bld_mvn.yml
secrets: inherit # pass all secrets for uploading assets
needs:
- lint
- bld_yarn
- format_i18n
- format_prettier
permissions:
Expand All @@ -113,7 +105,6 @@ jobs:
secrets: inherit # pass all secrets for uploading assets
needs:
- lint
- bld_yarn
- format_i18n
- format_prettier
permissions:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/bld_yarn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03c6652

Please sign in to comment.