Skip to content

ci: upgrade Node.js to v20 and GitHub Actions to v4#860

Open
mevinagrise wants to merge 1 commit intorcore-os:masterfrom
mevinagrise:master
Open

ci: upgrade Node.js to v20 and GitHub Actions to v4#860
mevinagrise wants to merge 1 commit intorcore-os:masterfrom
mevinagrise:master

Conversation

@mevinagrise
Copy link
Copy Markdown

Description

Node.js 16 has reached its End of Life (EOL). This PR upgrades the CI environment to Node.js 20 (LTS) and updates the GitHub Actions plugins to v4 to ensure better security, performance, and to resolve potential deprecation warnings.

Changes

  • Updated .github/workflows/auto-deploy.yml:
    • Changed node-version from 16 to 20.
    • Upgraded actions/checkout from v3 to v4.
    • Upgraded actions/setup-node from v3 to v4.

Verification

  • Local build verified: Ran npm install and hexo generate successfully on a modern Node.js environment.
  • Generated 2000+ static files without any errors.

This change ensures the blog's deployment pipeline remains stable and up-to-date with current industry standards.

- Upgrade Node.js version from 16 to 20(LTS)
- Update actions/checkout and actions/setup-node to v4
- Verified local build with 'hexo generate' successful"
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.

1 participant