Skip to content

actions/setup-node takes too long during post-checkout on self-hosted runners #1299

Open
@jasikpark

Description

@jasikpark

Description:
When running a CI job on a self-hosted runner, actions/setup-node takes the most time out of all the steps, requiring 8m to update the cache.

Action version:
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

node v22.13.1
[email protected]

Repro steps:
A description with steps to reproduce the issue. If you have a public example or repo to share, please provide the link.

I believe this would be reproduced with a self-hosted github runner using this action, but i recognize that there's lots of confounding variables

Expected behavior:

actions/setup-node takes less than 2min in favorable network conditions to setup and teardown a CI run.

Actual behavior:

actions/setup-node takes 8min to tear down a CI run.

Image 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