Repository navigation
feat(NOJIRA-123): add opt-in turbo-cache input to setup-node-with-cache - #292
Merged
Merged
Conversation
Jobs that run `turbo run` outside frontend-pr-workflow add rharkor/caching-for-turbo after setup-node-with-cache by hand (automations, bob-the-builder, pages). A `turbo-cache` input (default false) runs the same step, at the same pin as frontend-pr-workflow, so they don't have to. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Security Analysis ResultsNo security issues found. 2 files reviewed.
|
jhuliano
approved these changes
Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Jira ticket: NOJIRA-123
Repos that run
turbo runin their own jobs (outsidefrontend-pr-workflow) addrharkor/caching-for-turboby hand right aftersetup-node-with-cache: Typeform/automations (Typeform/automations#47), bob-the-builder (.github/workflows/main.ymland two local actions) and pages (.github/workflows/ci.yml). This adds an opt-inturbo-cacheinput tosetup-node-with-cachethat runs that step, so they can drop their copies and the pin lives in one place.Changes
turbo-cacheinput onshared-actions/setup-node-with-cache(default'false'). When'true', it runsrharkor/caching-for-turboat the same pinfrontend-pr-workflowuses (2238fae…, v2.5.1). Skipped underact, like the other cache steps.false, so existing callers see no behavior change.frontend-pr-workflowstill adds the step itself in its Build and Unit Tests jobs. Passing itsturbo-cacheinput through to this action instead is a follow-up, kept out so it doesn't conflict with perf(NOJIRA-123): save the Node cache from the Build job only #290, which edits the samewith:blocks.Testing
git merge-treeagainst both branches). Those PRs also change this file, so the input and step sit in lines they don't touch.caching-for-turboinside a composite action, including its post step) already runs in Typeform/automations#47, whose local setup action is this same pair of steps: its Storybook job replayed all 4 turbo tasks from the cache (run). Once this lands underv1, automations switches to the input and deletes that local action.Docs
For contributions to the
Typeform/.githubrepo🤖 Generated with Claude Code