Skip to content

npm ci hangs forever #1297

Closed
Closed
@ch-xhr

Description

@ch-xhr

Description

We've encountered a critical issue with our CI runs:
During the npm ci step, the job hangs indefinitely without progressing. This not only blocks our pipelines but also consumes significant usage minutes, which feels unfair and likely indicates a serious bug.

We would appreciate it if this could be investigated urgently.


Action Version

actions/setup-node@v4


Platform

  • Ubuntu

Runner Type

  • GitHub-hosted
  • Self-hosted

Tools Version

  • Node.js: 22.x
  • npm: 10.x

Reproduction Steps

  1. Run npm ci in a GitHub Actions workflow on a Node.js project
  2. Occasionally, the step hangs indefinitely without errors or timeouts

A sample repo or Gist can be provided if needed.


Expected Behavior

npm ci should install dependencies and complete within a reasonable time.


Actual Behavior

The step hangs indefinitely, consuming usage minutes and blocking subsequent steps.


Additional Context

Let us know if debug logs or sample workflows are needed for further diagnosis.

Image

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions