Skip to content

Docs: Update Node version in CI examples#34349

Merged
valentinpalkovic merged 4 commits into
storybookjs:nextfrom
cjeonguk:cjeonguk-patch-1
Mar 27, 2026
Merged

Docs: Update Node version in CI examples#34349
valentinpalkovic merged 4 commits into
storybookjs:nextfrom
cjeonguk:cjeonguk-patch-1

Conversation

@cjeonguk
Copy link
Copy Markdown
Contributor

@cjeonguk cjeonguk commented Mar 26, 2026

What I did

Updated Node.js version from 20 to 24 in GitHub Actions code snippets of Publish Storybook | Storybook docs.

Node.js 20 actions are deprecated - GitHub Blog

Checklist for Contributors

Testing

Manual testing

  1. Chromatic: Checked official docs of Chromatic GH Actions support Node.js 24
  2. GH Pages: Official GH Actions support Node.js 24

Documentation

  • Add or update documentation reflecting your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Checklist for Maintainers

  • When this PR is ready for testing, make sure to add ci:normal, ci:merged or ci:daily GH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found in code/lib/cli-storybook/src/sandbox-templates.ts

  • Make sure this PR contains one of the labels below:

    Available labels
    • bug: Internal changes that fixes incorrect behavior.
    • maintenance: User-facing maintenance tasks.
    • dependencies: Upgrading (sometimes downgrading) dependencies.
    • build: Internal-facing build tooling & test updates. Will not show up in release changelog.
    • cleanup: Minor cleanup style change. Will not show up in release changelog.
    • documentation: Documentation only changes. Will not show up in release changelog.
    • feature request: Introducing a new feature.
    • BREAKING CHANGE: Changes that break compatibility in some way with current major version.
    • other: Changes that don't fit in the above categories.

🦋 Canary release

This PR does not have a canary release associated. You can request a canary release of this pull request by mentioning the @storybookjs/core team here.

core team members can create a canary release here or locally with gh workflow run --repo storybookjs/storybook publish.yml --field pr=<PR_NUMBER>

Summary by CodeRabbit

  • Documentation
    • Updated GitHub Actions workflow examples to use Node.js 24 instead of 20.
    • Updated core GitHub Actions referenced in the examples to newer versions for improved compatibility.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 26, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 68bc1151-0496-4d40-b600-175e3606c605

📥 Commits

Reviewing files that changed from the base of the PR and between ac322c2 and 8cf4176.

📒 Files selected for processing (2)
  • docs/_snippets/chromatic-github-action.md
  • docs/_snippets/ghp-github-action.md
✅ Files skipped from review due to trivial changes (1)
  • docs/_snippets/ghp-github-action.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/_snippets/chromatic-github-action.md

📝 Walkthrough

Walkthrough

Updated two GitHub Actions workflow snippet files to bump third-party action versions (actions/checkout, actions/setup-node) and change the configured Node.js runtime from 20 to 24.

Changes

Cohort / File(s) Summary
Workflow snippet updates
docs/_snippets/chromatic-github-action.md, docs/_snippets/ghp-github-action.md
Bumped actions/checkout from @v4@v6 and actions/setup-node from @v4@v6; updated node-version from 2024 in setup-node steps. No other workflow steps changed.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@jonniebigodes jonniebigodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cjeonguk thanks for taking the time to put together this pull request and helping us improve the documentation. We appreciate it 🙏 ! I left a small item for you to look into when you can.

Let me know and we'll go from there.

Have a great day

Stay safe

Comment thread docs/_snippets/chromatic-github-action.md
@jonniebigodes jonniebigodes self-assigned this Mar 26, 2026
@jonniebigodes jonniebigodes added documentation ci:docs Run the CI jobs for documentation checks only. labels Mar 26, 2026
@jonniebigodes jonniebigodes changed the title Update Code Snippets of Docs Docs: Update Node version in CI examples Mar 26, 2026
@cjeonguk cjeonguk requested a review from jonniebigodes March 27, 2026 08:18
@valentinpalkovic valentinpalkovic merged commit 3a6f204 into storybookjs:next Mar 27, 2026
7 checks passed
@github-actions github-actions Bot mentioned this pull request Mar 27, 2026
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:docs Run the CI jobs for documentation checks only. documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants