Skip to content

Commit 21a8ad9

Browse files
committed
refactor
1 parent cca4796 commit 21a8ad9

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

circle.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,13 @@ commands:
366366
## * https://unix.stackexchange.com/questions/43945/whats-the-difference-between-various-term-variables
367367
command: yarn check-terminal
368368

369+
print-ci-settings:
370+
steps:
371+
- run:
372+
command: |
373+
echo Current working directory is $PWD
374+
echo Total containers $CIRCLE_NODE_TOTAL
375+
369376
install-required-node:
370377
# https://discuss.circleci.com/t/switch-nodejs-version-on-machine-executor-solved/26675/2
371378
description: Install Node version matching .node-version
@@ -437,13 +444,11 @@ commands:
437444
- install-chrome:
438445
channel: <<parameters.install-chrome-channel>>
439446
version: $(node ./scripts/get-browser-version.js chrome:<<parameters.install-chrome-channel>>)
447+
- print-ci-settings
440448
- run:
441449
environment:
442450
CYPRESS_KONFIG_ENV: production
443451
command: |
444-
echo Current working directory is $PWD
445-
echo Total containers $CIRCLE_NODE_TOTAL
446-
447452
if [[ -v MAIN_RECORD_KEY ]]; then
448453
# internal PR
449454
if <<parameters.experimentalSessionAndOrigin>>; then
@@ -514,11 +519,9 @@ commands:
514519
- restore_cached_workspace
515520
- windows-install-chrome:
516521
browser: <<parameters.browser>>
522+
- print-ci-settings
517523
- run:
518524
command: |
519-
echo Current working directory is $PWD
520-
echo Total containers $CIRCLE_NODE_TOTAL
521-
522525
if [[ -v MAIN_RECORD_KEY ]]; then
523526
# internal PR
524527
cmd=$([[ <<parameters.percy>> == 'true' ]] && echo 'yarn percy exec --parallel -- --') || true

0 commit comments

Comments
 (0)