Skip to content

Commit

Permalink
Revert "refactor"
Browse files Browse the repository at this point in the history
This reverts commit 21a8ad9.
  • Loading branch information
sainthkh committed Jun 27, 2022
1 parent 08cef21 commit 1ae1a31
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,13 +366,6 @@ 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 @@ -444,11 +437,13 @@ 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 @@ -519,9 +514,11 @@ 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 1ae1a31

Please sign in to comment.