Commit 5254ffeb authored by Jack Zhao's avatar Jack Zhao Committed by Joe Haddad
Browse files

Use Yarn cache for Travis (#4774)

* support scoped packages for cra --scripts-version option

* cache yarn

* only cache yarn

* also cache .npm
parent ca2e9f0f
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 2 additions and 3 deletions
+2 -3
...@@ -5,10 +5,9 @@ node_js: ...@@ -5,10 +5,9 @@ node_js:
- 8 - 8
- 10 - 10
cache: cache:
yarn: true
directories: directories:
- node_modules - .npm
- packages/create-react-app/node_modules
- packages/react-scripts/node_modules
before_install: before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash - curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH" - export PATH="$HOME/.yarn/bin:$PATH"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment