Skip to content

Commit

Permalink
update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyjames committed Oct 24, 2023
1 parent 95724cb commit 6d56d3c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Common Logic
machine: &machine-cfg
image: ubuntu-2004:202107-02
image: ubuntu-2204:2023.10.1

version: 2.1

Expand Down Expand Up @@ -73,6 +73,21 @@ commands:
steps:
- attach_workspace:
at: ~/
- run:
# https://support.circleci.com/hc/en-us/articles/360051656632-Swap-Node-Version-on-CircleCI-Convenience-Image
working_directory: test
name: Swap node versions
command: |
set +e
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
nvm install 14.17.3
nvm alias default 14.17.3
echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
- run:
name: Prepare tests
working_directory: test
Expand Down

0 comments on commit 6d56d3c

Please sign in to comment.