Skip to content

Bump GitHub Actions off deprecated Node 20 runtime (checkout/setup-node v4 → v5+) #6

Description

@chtnnh

The 0.3.0 release CI run annotated:

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4.

Task: bump actions/checkout and actions/setup-node to their current major versions in all four workflows (ci.yml, docs.yml, know-code.yml, release.yml) and in the workflow template generated by know-code init --workflow (consumerWorkflowYaml in packages/cli/src/commands/init.ts), plus the composite action action/action.yml (actions/setup-node@v4 step).

Watch the release.yml constraints while touching it: no registry-url on setup-node (OIDC trusted publishing breaks with an injected NODE_AUTH_TOKEN).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions