@@ -10,7 +10,7 @@ machine:
10
10
executors :
11
11
w : &ref_1
12
12
machine :
13
- image : windows-server-2019-vs2019:stable
13
+ image : windows-server-2022-gui:current
14
14
resource_class : windows.medium
15
15
shell : bash.exe
16
16
working_directory : ~/repo
@@ -19,7 +19,7 @@ executors:
19
19
AMPLIFY_PATH : C:/home/circleci/repo/out/amplify.exe
20
20
l : &ref_2
21
21
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
23
23
working_directory : ~/repo
24
24
resource_class : large
25
25
environment :
73
73
executor : << parameters.os >>
74
74
steps :
75
75
- 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
76
97
- run : yarn config set workspaces-experimental true
77
98
- run : yarn cache clean --force
78
99
- run : yarn run production-build
@@ -100,8 +121,8 @@ jobs:
100
121
- << parameters.os >>
101
122
steps :
102
123
- 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
105
126
- run : yarn config set workspaces-experimental true
106
127
- run : yarn cache clean --force
107
128
- run : yarn run production-build
@@ -235,7 +256,7 @@ jobs:
235
256
key : amplify-verdaccio-cache-{{ .Branch }}-{{ .Revision }}
236
257
- node/install :
237
258
install-yarn : true
238
- node-version : ' 16.13 '
259
+ node-version : ' 18.15 '
239
260
- run : yarn run production-build
240
261
- run : *ref_3
241
262
- run :
0 commit comments