Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit f0f9abf

Browse files
committed
ci(fix): downgrade next.js to 8.1.0 && use node 12
1 parent 8974412 commit f0f9abf

File tree

5 files changed

+530
-468
lines changed

5 files changed

+530
-468
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ before_install:
1414

1515
install:
1616
# web related
17-
- yarn install > /dev/null
17+
- npm install > /dev/null
1818
# - npm install -g codecov
1919
- commitlint-travis
2020
# elixir/phoenix env
@@ -28,8 +28,9 @@ before_script:
2828

2929
script:
3030
# - codecov
31-
- nvm exec 10.10 npm run build.ci
32-
- nvm exec 10.10 npm run test:ci
31+
- rm -rf .next
32+
- nvm exec 12.4.0 npm run build.ci
33+
- nvm exec 12.4.0 npm run test:ci
3334

3435
cache:
3536
directories:

package-docker.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"mobx-react-lite": "^1.2.0",
5454
"mobx-state-tree": "3.10.1",
5555
"module-alias": "^2.0.1",
56-
"next": "8.1.1-canary.47",
56+
"next": "8.1.0",
5757
"next-seo": "^1.9.0",
5858
"path-match": "^1.2.4",
5959
"polished": "2.3.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"mobx-react-lite": "^1.2.0",
8181
"mobx-state-tree": "3.10.1",
8282
"module-alias": "^2.0.1",
83-
"next": "8.1.1-canary.47",
83+
"next": "8.1.0",
8484
"next-compose-plugins": "^2.2.0",
8585
"next-offline": "^4.0.2",
8686
"next-progressbar": "^1.0.0",

travis/install_node.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh |
55
[[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.sh
66
echo "> check nvm"
77
nvm --version
8-
echo "> use node 10.10"
9-
nvm install 10.10.0
10-
nvm alias default 10.10.0
8+
echo "> use node 12.4.0"
9+
nvm install 12.4.0
10+
nvm alias default 12.4.0
1111
echo "> install node done"
1212
node --version
1313
pwd

0 commit comments

Comments
 (0)