Skip to content

Commit

Permalink
Test ruby for release in a quicker way
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Cipolleschi committed Nov 9, 2022
1 parent 114098d commit e1b2e21
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,24 @@ commands:
paths:
- vendor/bundle

install_ruby_ubuntu:
steps:
- run:
name: setup rbenv
command: |
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
# using $BASH_ENV
echo "exporting PATH to BASH_ENV"
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> $BASH_ENV
echo "add eval(rbenv init) to BASH_ENV"
echo 'eval "$(rbenv init -)"' >> $BASH_ENV
- run:
name: install ruby
command: |
rbenv install 2.7.6 --verbose
rbenv global 2.7.6
run_yarn:
parameters:
yarn_base_cache_key:
Expand Down Expand Up @@ -1360,6 +1378,10 @@ jobs:
steps:
- checkout_code_with_cache
- run_yarn
- install_ruby_ubuntu
- run:
name: Which Ruby
command: which ruby
- add_ssh_keys:
fingerprints:
- "1c:98:e0:3a:52:79:95:29:12:cd:b4:87:5b:41:e2:bb"
Expand Down

0 comments on commit e1b2e21

Please sign in to comment.