-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(setup-yarn-cache): add new action, from the C8 monorepo #255
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great.
Just one question on this:
Do you think it's worth observing this setup-node issue? If they come up with a built-in solution it could make sense.
I subscribed to it now but given the timeline I'm not expecting much soon. |
## Description Use camunda/infra-global-github-actions#255 from the Infra team (drop-in replacement doing the same) which allows other teams to also benefit from this behavior tailored towards monorepos. ## Checklist <!--- Please delete options that are not relevant. Boxes should be checked by reviewer. --> - [x] for CI changes: - [ ] structural/foundational changes signed off by [CI DRI](https://github.com/cmur2) - [x] [ci.yml](https://github.com/camunda/camunda/blob/main/.github/workflows/ci.yml) modifications comply with ["Unified CI" requirements](https://github.com/camunda/camunda/wiki/CI-&-Automation#workflow-inclusion-criteria) ## Related issues None
## Description Use camunda/infra-global-github-actions#255 from the Infra team (drop-in replacement doing the same) which allows other teams to also benefit from this behavior tailored towards monorepos. ## Checklist <!--- Please delete options that are not relevant. Boxes should be checked by reviewer. --> - [x] for CI changes: - [ ] structural/foundational changes signed off by [CI DRI](https://github.com/cmur2) - [x] [ci.yml](https://github.com/camunda/camunda/blob/main/.github/workflows/ci.yml) modifications comply with ["Unified CI" requirements](https://github.com/camunda/camunda/wiki/CI-&-Automation#workflow-inclusion-criteria) ## Related issues None
## Description Use camunda/infra-global-github-actions#255 from the Infra team (drop-in replacement doing the same) which allows other teams to also benefit from this behavior tailored towards monorepos. ## Checklist <!--- Please delete options that are not relevant. Boxes should be checked by reviewer. --> - [x] for CI changes: - [ ] structural/foundational changes signed off by [CI DRI](https://github.com/cmur2) - [x] [ci.yml](https://github.com/camunda/camunda/blob/main/.github/workflows/ci.yml) modifications comply with ["Unified CI" requirements](https://github.com/camunda/camunda/wiki/CI-&-Automation#workflow-inclusion-criteria) ## Related issues None
This action was originally created in camunda/camunda#21427 but is now relocated for wider use also in other repositories (disccused in Slack).
Noteworthy is the new input for this action
cache_create_branch_regex
which allows configuring on which branches to save the cache on (done via Bash now instead of GHA expression to allow parameterization), the defaults suit the C8 monorepo to avoid repeating configuration.The new action is successfully used in https://github.com/camunda/camunda/actions/runs/10699692498/job/29661839825?pr=21915 as an example