Skip to content

Commit 23d48f7

Browse files
committed
Pin machine image to an older working version
1 parent 5a8e2ad commit 23d48f7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
version: 2
88
jobs:
99
build:
10-
machine: true
10+
machine:
11+
# pin image to older version as "ubuntu-2204:2023.10.1" breaks on "nvm" step
12+
image: ubuntu-2204:2023.04.2
1113
environment:
1214
DEPLOY_PACKAGES: 1
1315
DEB: bionic focal
@@ -30,9 +32,8 @@ jobs:
3032
- run:
3133
name: Switch to supported version of Node
3234
command: |
33-
whereis nvm
35+
set +e
3436
export NVM_DIR="/opt/circleci/.nvm"
35-
ls $NVM_DIR
3637
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
3738
nvm install 14.20.1
3839
nvm alias default v14.20.1

0 commit comments

Comments
 (0)