Github Pages workflow is outdated
Author: mrleblanc101Created Sep 28, 2026Updated Sep 28, 2026
Labelspending triage
Environment
Github Workflow
Reproduction
https://nitro.build/deploy/providers/github-pages#deployment
Describe the bug
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
The workflow is outdated. The documentation should be updated to use node:24 or node:26.
Additional context
| Action | Before | After |
|---|---|---|
| actions/checkout | v5 | v7 |
| actions/setup-node | v6 | v7 |
| actions/upload-pages-artifact | v3 | v5 (runs [email protected] internally) |
| actions/deploy-pages | v4 | v5 |
Logs
Source: nitrojs/nitro