Skip to content

feat(NOJIRA-123): add opt-in turbo-cache input to setup-node-with-cache - #292

Merged
jhuliano merged 1 commit into
mainfrom
feat/setup-node-turbo-cache
Dec 1, 2026
Merged

jhuliano merged 1 commit into
mainfrom
feat/setup-node-turbo-cache

Conversation

@sh-waqar

Copy link
Copy Markdown
Contributor

Overview

Jira ticket: NOJIRA-123

Repos that run turbo run in their own jobs (outside frontend-pr-workflow) add rharkor/caching-for-turbo by hand right after setup-node-with-cache: Typeform/automations (Typeform/automations#47), bob-the-builder (.github/workflows/main.yml and two local actions) and pages (.github/workflows/ci.yml). This adds an opt-in turbo-cache input to setup-node-with-cache that runs that step, so they can drop their copies and the pin lives in one place.

Changes

  • turbo-cache input on shared-actions/setup-node-with-cache (default 'false'). When 'true', it runs rharkor/caching-for-turbo at the same pin frontend-pr-workflow uses (2238fae…, v2.5.1). Skipped under act, like the other cache steps.
  • Default is false, so existing callers see no behavior change.
  • README: a row for the input.
  • Not in this PR: frontend-pr-workflow still adds the step itself in its Build and Unit Tests jobs. Passing its turbo-cache input 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 same with: blocks.

Testing

Docs

  • Yes! ✋ I have updated the documentation.

For contributions to the Typeform/.github repo

  • This PR only changes an existing workflow.
  • This PR adds a new workflow that is needed in a public Typeform repository.

🤖 Generated with Claude Code

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>
@sh-waqar
sh-waqar requested a review from a team as a code owner November 29, 2026 04:47
@pr-auditor

pr-auditor Bot commented Nov 29, 2026

Copy link
Copy Markdown

✅ Security Analysis Results

No security issues found. 2 files reviewed.


@pr-auditor rescan to re-run · Powered by Claude Sonnet 5.5 · Docs · #security-engineering-team

@jhuliano
jhuliano merged commit d512063 into main Dec 1, 2026
0 of 2 checks passed
@sh-waqar
sh-waqar deleted the feat/setup-node-turbo-cache branch December 1, 2026 20:53
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