FormidableLabs / react-native-zephyr

TailwindCSS-inspired styling library for React Native.
https://formidable.com/open-source/react-native-zephyr/
MIT License
347 stars 5 forks source link

Add caching to CI jobs #22

Closed gksander closed 1 year ago

gksander commented 2 years ago

What?

Add caching to the static analysis/unit tests CI jobs.

Why?

Speed up CI runs by avoiding the need for fresh dependencies installs each run (when no changes to dependencies).

How?

Adjust .github/workflows/static-analysis.yml and .github/workflows/unit-test.yml to add yarn caching. See React Native Owl's config for some motivation.