File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,23 @@ jobs:
51
51
- checkout
52
52
- restore_cache :
53
53
keys :
54
- - dependencies-cache-{{ checksum "package.json " }}
54
+ - dependencies-cache-{{ checksum "yarn.lock " }}
55
55
- dependencies-cache-
56
+ - run :
57
+ name : Install yarn
58
+ command : >
59
+ sudo apt-get install apt-transport-https &&
60
+ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&
61
+ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list &&
62
+ sudo apt-get update &&
63
+ sudo apt-get install --no-install-recommends yarn
56
64
- run :
57
65
name : Install dependencies
58
- command : npm install --no-save
66
+ command : yarn
59
67
- save_cache :
60
- key : dependency-cache-{{ checksum "package.json " }}
68
+ key : dependency-cache-{{ checksum "yarn.lock " }}
61
69
paths :
62
- - node_modules
70
+ - ~/.cache/yarn
63
71
- persist_to_workspace :
64
72
root : .
65
73
paths : node_modules
You can’t perform that action at this time.
0 commit comments