9
9
executors :
10
10
w : &windows-e2e-executor
11
11
machine :
12
- image : ' windows-server-2019-vs2019:stable '
12
+ image : ' windows-server-2022-gui:current '
13
13
resource_class : ' windows.medium'
14
14
shell : bash.exe
15
15
working_directory : ~/repo
@@ -19,7 +19,7 @@ executors:
19
19
20
20
l : &linux-e2e-executor
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 :
78
78
executor : << parameters.os >>
79
79
steps :
80
80
- checkout
81
+ - when :
82
+ condition :
83
+ equal : [*windows-e2e-executor, << parameters.os >>]
84
+ steps :
85
+ - run :
86
+ name : Install Node 18
87
+ command : |
88
+ nvm version
89
+ nvm install 18.15.0
90
+ nvm use 18.15.0
91
+ nvm ls
92
+ - run :
93
+ name : Install Yarn
94
+ command : |
95
+ npm install -g yarn
96
+ yarn --version
97
+ - run :
98
+ name : Check node version
99
+ command : node -v
81
100
- run : yarn config set workspaces-experimental true
82
101
- run : yarn cache clean --force
83
102
- run : yarn run production-build
@@ -103,8 +122,8 @@ jobs:
103
122
- equal : [*windows-e2e-executor, << parameters.os >>]
104
123
steps :
105
124
- checkout
106
- - run : nvm install 12.22.7
107
- - run : nvm alias default 12.22.7
125
+ - run : nvm install 18.15.0
126
+ - run : nvm alias default 18.15.0
108
127
- run : yarn config set workspaces-experimental true
109
128
- run : yarn cache clean --force
110
129
- run : yarn run production-build
@@ -234,7 +253,7 @@ jobs:
234
253
key : amplify-verdaccio-cache-{{ .Branch }}-{{ .Revision }}
235
254
- node/install :
236
255
install-yarn : true
237
- node-version : ' 16.13 '
256
+ node-version : ' 18.15 '
238
257
- run : yarn run production-build
239
258
- run : *install_cli
240
259
- run :
0 commit comments