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
3
3
4
4
language : node_js
5
5
node_js :
6
- - ' 4.4'
6
+ -
6 # Because `[email protected] ` requires 6.9+.
7
+ - 10
7
8
8
9
before_script :
9
10
- 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.
14
14
## Demo Pages on GitHub
15
15
16
16
We 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
18
18
copied to its own folder.
19
19
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
21
21
dependencies over to the gh-pages branch and (if all tests pass) push to the remote gh-pages
22
22
branch on GitHub.
23
23
24
24
### Auto-updating Demo Pages from CI
25
25
26
26
There is a Jenkins job that runs periodically and executes ` jenkins.sh ` .
27
27
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
29
29
the tests and update the demo pages (using ` update-gh-pages.sh ` ).
30
30
(You shouldn't need to run this script manually.)
31
31
32
32
## Pushing to GitHub
33
33
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
35
35
tag. Any changes to a step requires the commits to be rebased and retagged.
36
36
37
37
Since 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 3
3
# Install nvm for this shell
4
4
source ~ /.nvm/nvm.sh
5
5
6
- # Use Node.js v4 .x
7
- nvm install 4
6
+ # Use Node.js v8 .x
7
+ nvm install 10
8
8
9
9
# Run all tests and publish steps on gh-pages
10
10
scripts/private/update-gh-pages.sh
You can’t perform that action at this time.
0 commit comments