-
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.
use hash website and circle ci tests
- Loading branch information
Showing
9 changed files
with
50 additions
and
9 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
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,21 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
working_directory: ~/workspace | ||
docker: | ||
- image: circleci/node:8-browsers | ||
steps: | ||
- checkout | ||
|
||
- run: export UPDATE_SCREENSHOTS='0' | ||
- run: export GITHUB_PAGES='https://angular-seattle.github.io/protractor-new-hope/' | ||
|
||
- run: node --version | ||
- run: npm --version | ||
- run: yarn --version | ||
- run: google-chrome --version | ||
|
||
- run: yarn install | ||
- run: yarn run webdriver-update | ||
|
||
- run: $(npm bin)/protractor protractor.conf.js --specs='e2e/tractor.e2e-spec.ts' --directConnect=true |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
npm install | ||
npm run ng build | ||
|
||
git checkout gh-pages | ||
|
||
rm -rf e2e/ examples/ src/ | ||
rm .angular-cli.json .editorconfig karma.conf.js | ||
rm package-lock.json package.json protractor.conf.js | ||
rm README.md tsconfig.json tslint.json | ||
|
||
cp -r dist/* . | ||
|
||
rm -rf dist/ node_modules/ | ||
|
||
git add -A | ||
git commit -m "release gh-pages" | ||
git push origin gh-pages |
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