Skip to content
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

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

cmur2
Copy link
Member

@cmur2 cmur2 commented Sep 4, 2024

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

Copy link
Member

@kellervater kellervater left a 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.

@cmur2
Copy link
Member Author

cmur2 commented Sep 4, 2024

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.

@cmur2 cmur2 merged commit 9cc9108 into main Sep 4, 2024
3 checks passed
@cmur2 cmur2 deleted the new-setup-yarn-cache branch September 4, 2024 13:06
github-merge-queue bot pushed a commit to camunda/camunda that referenced this pull request Sep 5, 2024
## 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
github-merge-queue bot pushed a commit to camunda/camunda that referenced this pull request Sep 5, 2024
## 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
github-merge-queue bot pushed a commit to camunda/camunda that referenced this pull request Sep 5, 2024
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants