This repository was archived by the owner on Feb 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ dist: trusty
33
44language : node_js
55node_js :
6- - ' 4.4'
6+ - 6 # Because `protractor@5.4.1` requires 6.9+.
7+ - 10
78
89before_script :
910 - export DISPLAY=:99.0
Original file line number Diff line number Diff line change @@ -14,24 +14,24 @@ and run the unit/e2e tests for all the steps.
1414## Demo Pages on GitHub
1515
1616We use GitHub to host a live demo of each step. This is stored in the gh-pages branch of the git
17- repository. The folder structure of this branch is different to the main master branch. Each step is
17+ repository. The folder structure of this branch is different to the main master branch. Each step is
1818copied to its own folder.
1919
20- - ** update-gh-pages.sh** : Run this script to copy changes to the tutorial steps and bower
20+ - ** update-gh-pages.sh** : Run this script to copy changes to the tutorial steps and bower
2121 dependencies over to the gh-pages branch and (if all tests pass) push to the remote gh-pages
2222 branch on GitHub.
2323
2424### Auto-updating Demo Pages from CI
2525
2626There is a Jenkins job that runs periodically and executes ` jenkins.sh ` .
2727
28- - ** jenkins.sh** : This script will set the Node.js version to 4.x (using ` nvm ` ), will run all the
28+ - ** jenkins.sh** : This script will set Node.js to an appropriate version (using ` nvm ` ), will run all
2929 the tests and update the demo pages (using ` update-gh-pages.sh ` ).
3030 (You shouldn't need to run this script manually.)
3131
3232## Pushing to GitHub
3333
34- Each step in the tutorial is one commit in the git repository. Each step is also identified by a git
34+ Each step in the tutorial is one commit in the git repository. Each step is also identified by a git
3535tag. Any changes to a step requires the commits to be rebased and retagged.
3636
3737Since it is likely that rebasing and retagging the commits will cause the local git repository to
Original file line number Diff line number Diff line change 33# Install nvm for this shell
44source ~ /.nvm/nvm.sh
55
6- # Use Node.js v4 .x
7- nvm install 4
6+ # Use Node.js v8 .x
7+ nvm install 10
88
99# Run all tests and publish steps on gh-pages
1010scripts/private/update-gh-pages.sh
You can’t perform that action at this time.
0 commit comments