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

ci: Use turbo for build cache (no-changelog) #9696

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

netroy
Copy link
Member

@netroy netroy commented Jun 11, 2024

This PR setups a remote cache for turbo-repo using a local server that backs up the cache using Github Actions Cache service.
Once this is working, build, test, and lint tasks should significantly speed up.

Related tickets and issues

https://linear.app/n8n/issue/N8N-4262

Review / Merge checklist

  • PR title and summary are descriptive
  • Tests included

Blocked by dtinth/setup-github-actions-caching-for-turbo#26

@ivov
Copy link
Contributor

ivov commented Jun 11, 2024

Last attempt: #7805

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jun 11, 2024
@netroy netroy marked this pull request as ready for review June 11, 2024 16:43
@netroy netroy requested a review from ivov June 11, 2024 16:43
@despairblue
Copy link
Contributor

I don't see a significant difference between the reruns here: https://github.com/n8n-io/n8n/actions/runs/9468790143
Attempt 2 and 3 should be faster right? Or do we only write to the cache on master and read in PRs?

@netroy
Copy link
Member Author

netroy commented Jun 13, 2024

I don't see a significant difference between the reruns

dtinth/setup-github-actions-caching-for-turbo#26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants