Skip to content

Commit c1485c0

Browse files
committed
ci(travis): fix incompatibility problem during build
1 parent 3e39a29 commit c1485c0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ cache:
77
directories:
88
- "node_modules"
99

10+
# use latest yarn
11+
before_install:
12+
- curl -o- -L https://yarnpkg.com/install.sh | bash
13+
- export PATH=$HOME/.yarn/bin:$PATH
14+
15+
# fix upath incompatibility
16+
install: yarn --ignore-engines
17+
1018
# GitHub Pages deploy
1119
before_deploy:
1220
- npm run predeploy

0 commit comments

Comments
 (0)