Skip to content

[CI] Restore cache on CI #1019

@diegolmello

Description

@diegolmello

We're not restoring cache on all builds.

yarn

Here's the time it takes to install npm modules in android by restoring cache:
image

Because we don't do it on ios builds, here's the difference:
image

Restore cache: https://github.com/RocketChat/Rocket.Chat.ReactNative/blob/develop/.circleci/config.yml#L18
Save cache: https://github.com/RocketChat/Rocket.Chat.ReactNative/blob/develop/.circleci/config.yml#L41

fastlane

Something similar should be done on fastlane by following Fastlane's best practices: https://docs.fastlane.tools/best-practices/continuous-integration/circle-ci/
image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions