File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 11version : 2.1
22
3+ ruby-image : &ruby-image cimg/ruby:<<parameters.ruby-version>>
34env-vars : &env-vars
45 RAILS_ENV : test
56 NODE_ENV : test
67 BUNDLE_PATH : vendor/bundle
78 SPROCKETS : false
89
910orbs :
10- ruby : circleci/ruby@1.8.0
11- node : circleci/node@5.0.2
1211 browser-tools : circleci/browser-tools@1.1.3
1312
1413executors :
@@ -19,7 +18,7 @@ executors:
1918 default : " 2.7"
2019 type : string
2120 docker :
22- - image : cimg/ ruby:<<parameters.ruby-version>>-node
21+ - image : * ruby-image
2322 environment : *env-vars
2423
2524commands :
@@ -52,6 +51,13 @@ commands:
5251 - run :
5352 name : Setup database
5453 command : (cd spec/dummy && bundle exec rake db:setup)
54+ - run :
55+ name : Install node and yarn
56+ command : |
57+ curl -sL https://deb.nodesource.com/setup_$(cat .node-version).x | sudo -E bash -
58+ sudo apt-get install -y nodejs
59+ curl -o- -sL https://yarnpkg.com/install.sh | bash
60+ sudo ln -s $HOME/.yarn/bin/yarn /usr/local/bin/yarn
5561 - run :
5662 name : Prepare Assets
5763 command : |
Original file line number Diff line number Diff line change 1+ 16
You can’t perform that action at this time.
0 commit comments