denoland / denoland/setup-deno

Cache node_modules directory

Open
#105 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
330
Forks
58
PR merge metrics
No merged PRs in 30d

Description

Is it possible for the cache to work on both `$DENO_DIR` and node_modules (optionally)? There are some cases where both directories are used (vite, playwright, etc)

It also appears there's a change in deno module handling where setting the `node_modules_dir=auto` option no longer stores jsr libraries in node_modules, so we have split directories by default

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named in the issue; start by tracing how the GitHub Action currently caches `$DENO_DIR` and how its cache inputs are configured. Check the Deno and node_modules behavior described for Vite and Playwright, and consider the issue done when both directories can be cached optionally without breaking the existing cache.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, nodejs, playwright, typescript, vite
Domain
ci-cd, devops, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.