Skip to content

ci: update GitHub Actions to Node 24 versions and add manual docs trigger - #60

Merged
javlor merged 1 commit into
mainfrom
ci/node24-actions
Nov 23, 2026
Merged

javlor merged 1 commit into
mainfrom
ci/node24-actions

Conversation

@javlor

@javlor javlor commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

The PR addresses:

  • Node 20 deprecation: the failed docs run warned that checkout@v4, cache@v4, configure-pages@v5, deploy-pages@v4, upload-artifact@v4 and setup-uv@v4 target Node.js 20. GitHub is already forcing them onto Node 24.

  • Manual docs trigger: each re-run uploads another github-pages artifact into the same run, and deploy-pages fails once there are two. Docs can only be redeployed by pushing to main. workflow_dispatch lets maintainers start a fresh docs deploy from the Actions tab.

…gger

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified in the CI workflow updates.

No open issues 🎉

What changed in this PR

Updates the SolarFarmer SDK’s CI workflows to use Node.js 24–compatible GitHub Actions and lets maintainers start a fresh documentation deployment without pushing to main.

Changes:

  • Upgrades checkout, Python/uv setup, caching, artifact handling, and Pages actions across six workflows.
  • Adds workflow_dispatch to the documentation workflow, providing an alternative to reruns that encounter duplicate Pages artifacts.
File Description
.github/​workflows/​test.yml Updates checkout and uv setup actions for tests.
.github/​workflows/​release.yml Updates checkout, uv setup, and release artifact upload/download actions.
.github/​workflows/​pip-audit.yml Updates checkout and Python setup actions for dependency auditing.
.github/​workflows/​lint.yml Updates checkout and uv setup actions for linting.
.github/​workflows/​docs.yml Adds manual deployment and updates setup, caching, and Pages actions.
.github/​workflows/​build.yml Updates checkout and uv setup actions for package build verification.

Review effort: Balanced

@javlor
javlor merged commit 056f539 into main Nov 23, 2026
13 checks passed
@javlor
javlor deleted the ci/node24-actions branch November 24, 2026 11:26
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