-
Notifications
You must be signed in to change notification settings - Fork 6
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
25 changed files
with
650 additions
and
302 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"@types/react": "^16.7.22", | ||
"tea-cup-core": "2.3.0", | ||
"react-tea-cup": "2.3.0", | ||
"ts-jest": "^24.1.0", | ||
"bomlint": "1.2.3" | ||
} |
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
version: 2 | ||
version: 2.1 | ||
orbs: | ||
browser-tools: circleci/[email protected] | ||
|
||
defaults: &defaults | ||
working_directory: ~/repo | ||
docker: | ||
- image: circleci/node:erbium | ||
- image: circleci/node:gallium | ||
|
||
jobs: | ||
build: | ||
|
@@ -16,6 +18,31 @@ jobs: | |
root: ~/repo | ||
paths: . | ||
|
||
webtests: | ||
working_directory: ~/repo | ||
docker: | ||
- image: circleci/openjdk:11-jdk-browsers | ||
environment: | ||
DISPLAY: :99 | ||
|
||
steps: | ||
- run: sudo Xvfb :99 -screen 0 1920x1200x24 > /dev/null 2>&1 & | ||
- attach_workspace: | ||
at: ~/repo | ||
- browser-tools/install-chrome | ||
- browser-tools/install-chromedriver | ||
- run: | ||
command: | | ||
google-chrome --version | ||
chromedriver --version | ||
ps -efa | grep Xvfb | ||
name: Check install | ||
- run: cd webtests && export DISPLAY=:99 && mvn clean install -Dwebdriver.chrome.driver=/usr/local/bin/chromedriver | ||
- store_artifacts: | ||
path: ~/repo/webtests/target/surefire-reports | ||
- store_artifacts: | ||
path: ~/repo/webtests/target/videos | ||
|
||
deploy: | ||
<<: *defaults | ||
steps: | ||
|
@@ -34,9 +61,13 @@ workflows: | |
filters: | ||
tags: | ||
only: /\d+\.\d+\.\d+/ | ||
- webtests: | ||
requires: | ||
- build | ||
- deploy: | ||
requires: | ||
- build | ||
- webtests | ||
filters: | ||
tags: | ||
only: /\d+\.\d+\.\d+/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
yarn install && \ | ||
yarn bomlint && \ | ||
cd core && \ | ||
./build.sh && \ | ||
cd ../tea-cup && \ | ||
./build.sh && \ | ||
cd ../samples && \ | ||
yarn test --watchAll=false | ||
yarn test --watchAll=false && \ | ||
yarn build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "tea-cup-core", | ||
"version": "2.2.2", | ||
"version": "2.3.0", | ||
"description": "react-tea-cup core classes and utilities (Maybe etc)", | ||
"author": "Rémi Van Keisbelck <[email protected]>", | ||
"license": "MIT", | ||
|
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.