Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Mount cache for yarn commands #26

Merged
merged 1 commit into from
Apr 16, 2020
Merged

Mount cache for yarn commands #26

merged 1 commit into from
Apr 16, 2020

Conversation

madsnedergaard
Copy link
Member

@madsnedergaard madsnedergaard commented Apr 16, 2020

Mounts cache if we know the yarn cache location based on image used.

I'm unsure if enabling it for all "yarn" commands is too drastic, or if we should instead have an optional key in BUILD.yaml files for enabling it?

Also note, that my Python is pretty rusty - so any suggestions for improvements are very welcome ;)

Fixes #17

@madsnedergaard madsnedergaard self-assigned this Apr 16, 2020
Copy link
Member

@corradio corradio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elegant!

@madsnedergaard madsnedergaard merged commit cfb3c54 into master Apr 16, 2020
@madsnedergaard madsnedergaard deleted the mn/use-yarn-cache branch April 16, 2020 10:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use local cache for yarn commands
2 participants