Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthkh committed Jun 22, 2022
1 parent cca4796 commit 21a8ad9
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,13 @@ commands:
## * https://unix.stackexchange.com/questions/43945/whats-the-difference-between-various-term-variables
command: yarn check-terminal

print-ci-settings:
steps:
- run:
command: |
echo Current working directory is $PWD
echo Total containers $CIRCLE_NODE_TOTAL
install-required-node:
# https://discuss.circleci.com/t/switch-nodejs-version-on-machine-executor-solved/26675/2
description: Install Node version matching .node-version
Expand Down Expand Up @@ -437,13 +444,11 @@ commands:
- install-chrome:
channel: <<parameters.install-chrome-channel>>
version: $(node ./scripts/get-browser-version.js chrome:<<parameters.install-chrome-channel>>)
- print-ci-settings
- run:
environment:
CYPRESS_KONFIG_ENV: production
command: |
echo Current working directory is $PWD
echo Total containers $CIRCLE_NODE_TOTAL
if [[ -v MAIN_RECORD_KEY ]]; then
# internal PR
if <<parameters.experimentalSessionAndOrigin>>; then
Expand Down Expand Up @@ -514,11 +519,9 @@ commands:
- restore_cached_workspace
- windows-install-chrome:
browser: <<parameters.browser>>
- print-ci-settings
- run:
command: |
echo Current working directory is $PWD
echo Total containers $CIRCLE_NODE_TOTAL
if [[ -v MAIN_RECORD_KEY ]]; then
# internal PR
cmd=$([[ <<parameters.percy>> == 'true' ]] && echo 'yarn percy exec --parallel -- --') || true
Expand Down

0 comments on commit 21a8ad9

Please sign in to comment.