-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
1,494 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ version: 2.1 | |
orbs: | ||
node: circleci/[email protected] | ||
slack: circleci/[email protected] | ||
browser-tools: circleci/[email protected].3 | ||
browser-tools: circleci/[email protected].8 | ||
gh-pages: sugarshin/[email protected] | ||
|
||
parameters: | ||
|
@@ -77,6 +77,7 @@ jobs: | |
- checkout | ||
- install_dependencies: | ||
sudo: 'sudo' | ||
browser: << parameters.browser >> | ||
- run: | ||
name: Install docker | ||
command: | | ||
|
@@ -89,7 +90,13 @@ jobs: | |
$(lsb_release -cs) stable" | $SUDO tee /etc/apt/sources.list.d/docker.list > /dev/null | ||
$SUDO apt update | ||
$SUDO apt -y install docker-ce docker-ce-cli containerd.io | ||
- browser-tools/install-browser-tools | ||
- when: | ||
condition: | ||
not: | ||
equal: ['node', << parameters.browser >>] | ||
steps: | ||
browser-tools/install-browser-tools: | ||
replace-existing-chrome: true | ||
- run: | ||
name: << parameters.browser >> test | ||
command: | | ||
|
@@ -120,6 +127,9 @@ commands: | |
sudo: | ||
type: string | ||
default: '' | ||
browser: | ||
type: string | ||
default: '' | ||
steps: | ||
- run: | ||
name: Install Dependencies | ||
|
@@ -133,4 +143,4 @@ commands: | |
command: | | ||
set -e | ||
npm ci | ||
npm install chromedriver@latest | ||
if [ "<< parameters.browser >>" == "chrome" ]; then npm install chromedriver@latest; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.