This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
Yarn workspaces are not properly cached #432
Labels
feat/builds
init/monorepo-support
project/speedy-builds
type: bug
code to address defects in shipped code
Related: #399, #196.
When using Yarn workspaces, each new build is running
yarn
again. It seems thatnode_modules
are not properly cached.This behavior is unrelated the Netlify Build beta (it happens both with and without it).
Repository to reproduce:
package.json
netlify.toml
site/package.json
Run
yarn
to create ayarn.lock
. Then each deploy keeps showing:If the build was properly cached, the 4 steps of Yarn would stopped at step 1, and take less than 1 second (not 39 seconds).
Deploy URL: https://app.netlify.com/sites/compassionate-minsky-6a5f7e/deploys/5ec802e7a8a2ed00060a7e72
The text was updated successfully, but these errors were encountered: