anthropics / anthropics/claude-code-action

[Feature] Support node environment caching

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
enhancement p3
Dominant language
TypeScript
Stars
8.9k
Forks
2.1k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

It'd be great if we can pass this through so that we can get higher performance.

It looks like the base action has a toggle for this which is off by default? It'd be great to pass that through/make this work somehow.

I see these steps during the github action run:
```
Run actions/setup-node@v4
Attempting to download 18.x...
Acquiring 18.20.8 - x64 from https://github.com/actions/node-versions/releases/download/18.20.8-14110393767/node-18.20.8-linux-x64.tar.gz
Extracting ...
/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword --overwrite -C /home/runner/_work/_temp/3d69a947-7116-4a4c-b59c-271e9fe936b2 -f /home/runner/_work/_temp/cf6639fa-fae8-4b28-8ff0-121d3944eb63
Adding to the cache ...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.