Skip to content

Upgrade GitHub Action to Node 24#1

Closed
suhas-coursera wants to merge 1 commit into
masterfrom
node24-upgrade
Closed

Upgrade GitHub Action to Node 24#1
suhas-coursera wants to merge 1 commit into
masterfrom
node24-upgrade

Conversation

@suhas-coursera

Copy link
Copy Markdown

Summary

Upgrades the entire flake8 GitHub Action to Node 24, aligning with the node24 runtime already declared in action.yml.

Changes

Dependencies

  • @actions/core: ^1.10.1 → ^1.11.1
  • @vercel/ncc: ^0.38.1 → ^0.38.3

Configuration

  • Makefile: Removed NODE_OPTIONS=--openssl-legacy-provider (not needed on Node 24)
  • .eslintrc.yml: Updated es2021es2024
  • package.json: Added "engines": { "node": ">=24" }
  • .nvmrc: Created for nvm auto-selection (value: 24)

Workflows

  • Updated all GitHub Actions to latest versions
    • actions/checkout v3 → v4
    • actions/setup-python v4 → v5
    • actions/setup-node v3 → v4
    • github/codeql-action v2 → v3
  • eslint.yml: Node 20 → Node 24
  • Platform CI workflows: Temporarily point to @node24-upgrade for testing

Build

  • dist/index.js: Rebuilt with @vercel/ncc 0.38.4

Test Plan

Local verification (completed)

  • Node 24.16.0 confirmed active
  • npm install completed
  • npm run lint passed (ESLint 0 errors)
  • npm run package succeeded (dist/index.js rebuilt)

📋 CI Testing (pending)
The three platform CI workflows are configured to use @node24-upgrade so they test this branch's code:

  • Linux CI: 4 Python versions (3.9, 3.10, 3.11, 3.12)
  • macOS CI: 4 Python versions (3.9, 3.10, 3.11, 3.12)
  • Windows CI: 4 Python versions (3.9, 3.10, 3.11, 3.12)
  • Lint: Node 24 ESLint run
  • CodeQL: v3 analysis

🚀 Generated with Claude Code

- Update @actions/core from ^1.10.1 to ^1.11.1
- Update @vercel/ncc from ^0.38.1 to ^0.38.3
- Add engines field requiring Node >=24
- Update .eslintrc.yml: es2021 -> es2024
- Remove NODE_OPTIONS=--openssl-legacy-provider from Makefile (not needed on Node 24)
- Update all workflow action versions:
  - actions/checkout v3 -> v4
  - actions/setup-python v4 -> v5
  - actions/setup-node v3 -> v4
  - github/codeql-action v2 -> v3
- Update eslint workflow to Node 24 (was Node 20)
- Temporarily point platform CI workflows to @node24-upgrade branch for testing
- Add .nvmrc file for nvm auto-selection
- Rebuild dist/index.js with updated ncc

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
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