File tree Expand file tree Collapse file tree 4 files changed +10249
-17587
lines changed Expand file tree Collapse file tree 4 files changed +10249
-17587
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ job_defaults: &job_defaults
55 - image : circleci/node:latest 
66 working_directory : ~/project/repo 
77
8- cache_key : &cache_key testing-library-deps-cache-{{ .Branch }}-{{ checksum "package-lock.json " }} 
8+ cache_key : &cache_key testing-library-deps-cache-{{ .Branch }}-{{ checksum "yarn.lock " }} 
99dist_key : &dist_key testing-library-dist-{{ .Revision }} 
1010
1111jobs :
1717 key : *cache_key 
1818 - run :
1919 name : install-dependencies 
20-  command : npm ci 
20+  command : yarn 
2121 - save_cache :
2222 key : *cache_key 
2323 paths :
3131 key : *cache_key 
3232 - run :
3333 name : lint 
34-  command : npm run  lint
34+  command : yarn  lint
3535
3636 test-lib :
3737 << : *job_defaults 
4141 key : *cache_key 
4242 - run :
4343 name : test 
44-  command : npm run  test
44+  command : yarn  test
4545
4646 build-lib :
4747 << : *job_defaults 
5151 key : *cache_key 
5252 - run :
5353 name : test 
54-  command : npm run  build
54+  command : yarn  build
5555 - save_cache :
5656 key : *dist_key 
5757 paths :
6767 key : *dist_key 
6868 - run :
6969 name : test 
70-  command : npm run  test:app
70+  command : yarn  test:app
7171
7272 release :
7373 << : *job_defaults 
7979 key : *dist_key 
8080 - run :
8181 name : release 
82-  command : npm run  semantic-release || true
82+  command : yarn  semantic-release || true
8383
8484workflows :
8585 version : 2 
                         You can’t perform that action at this time. 
           
                  
0 commit comments