File tree 1 file changed +22
-4
lines changed
1 file changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -157,8 +157,26 @@ jobs:
157
157
type : string
158
158
executor : <<parameters.os>>
159
159
steps :
160
- - node/install :
161
- node-version : <<parameters.node-version>>
160
+ - when : &node-install-windows
161
+ condition :
162
+ equal : [ <<parameters.os>>, windows ]
163
+ steps :
164
+ - run :
165
+ name : Install Node <<parameters.node-version>>
166
+ shell : bash.exe
167
+ command : |
168
+ nvm list
169
+ nvm install <<parameters.node-version>>
170
+ nvm use <<parameters.node-version>>
171
+
172
+ node --version
173
+ npm --version
174
+ - unless : &node-install-non-windows
175
+ condition :
176
+ equal : [ <<parameters.os>>, windows ]
177
+ steps :
178
+ - node/install :
179
+ node-version : <<parameters.node-version>>
162
180
- attach_workspace :
163
181
at : .
164
182
- knodes-typedoc-orb/install :
@@ -199,8 +217,8 @@ jobs:
199
217
executor : <<parameters.os>>
200
218
parallelism : 2
201
219
steps :
202
- - node/ install :
203
- node-version : <<parameters. node-version>>
220
+ - when : * node- install-windows
221
+ - unless : * node-install-non-windows
204
222
- attach_workspace :
205
223
at : .
206
224
- run :
You can’t perform that action at this time.
0 commit comments