Skip to content

Commit ec4319a

Browse files
committed
chore: update yarn lock and CI config
1 parent 5992ee3 commit ec4319a

File tree

2 files changed

+845
-1022
lines changed

2 files changed

+845
-1022
lines changed

.circleci/config.yml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ machine:
1010
executors:
1111
w: &ref_1
1212
machine:
13-
image: windows-server-2019-vs2019:stable
13+
image: windows-server-2022-gui:current
1414
resource_class: windows.medium
1515
shell: bash.exe
1616
working_directory: ~/repo
@@ -19,7 +19,7 @@ executors:
1919
AMPLIFY_PATH: C:/home/circleci/repo/out/amplify.exe
2020
l: &ref_2
2121
docker:
22-
- image: public.ecr.aws/j4f5f3h7/amplify-cli-e2e-base-image-repo-public:latest
22+
- image: public.ecr.aws/j4f5f3h7/amplify-cli-e2e-base-image-repo-public:node18
2323
working_directory: ~/repo
2424
resource_class: large
2525
environment:
@@ -73,6 +73,27 @@ jobs:
7373
executor: << parameters.os >>
7474
steps:
7575
- checkout
76+
- when:
77+
condition:
78+
equal:
79+
- *ref_1
80+
- << parameters.os >>
81+
steps:
82+
- run:
83+
name: Install Node 18
84+
command: |
85+
nvm version
86+
nvm install 18.15.0
87+
nvm use 18.15.0
88+
nvm ls
89+
- run:
90+
name: Install Yarn
91+
command: |
92+
npm install -g yarn
93+
yarn --version
94+
- run:
95+
name: Check node version
96+
command: node -v
7697
- run: yarn config set workspaces-experimental true
7798
- run: yarn cache clean --force
7899
- run: yarn run production-build
@@ -100,8 +121,8 @@ jobs:
100121
- << parameters.os >>
101122
steps:
102123
- checkout
103-
- run: nvm install 12.22.7
104-
- run: nvm alias default 12.22.7
124+
- run: nvm install 18.15.0
125+
- run: nvm alias default 18.15.0
105126
- run: yarn config set workspaces-experimental true
106127
- run: yarn cache clean --force
107128
- run: yarn run production-build
@@ -235,7 +256,7 @@ jobs:
235256
key: amplify-verdaccio-cache-{{ .Branch }}-{{ .Revision }}
236257
- node/install:
237258
install-yarn: true
238-
node-version: '16.13'
259+
node-version: '18.15'
239260
- run: yarn run production-build
240261
- run: *ref_3
241262
- run:

0 commit comments

Comments
 (0)