Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 68802ca

Browse files
committed
chore: upgrade Node.js to latest LTS (10.x)
1 parent 6046bbb commit 68802ca

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ dist: trusty
33

44
language: node_js
55
node_js:
6-
- '4.4'
6+
- 6 # Because `[email protected]` requires 6.9+.
7+
- 10
78

89
before_script:
910
- export DISPLAY=:99.0

scripts/private/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@ and run the unit/e2e tests for all the steps.
1414
## Demo Pages on GitHub
1515

1616
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
1818
copied 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

2626
There 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
3535
tag. Any changes to a step requires the commits to be rebased and retagged.
3636

3737
Since it is likely that rebasing and retagging the commits will cause the local git repository to

scripts/private/jenkins.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Install nvm for this shell
44
source ~/.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
1010
scripts/private/update-gh-pages.sh

0 commit comments

Comments
 (0)