Skip to content

Commit 2abe6d7

Browse files
committed
fix frontend build.
1 parent ea4e642 commit 2abe6d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
- COMMIT=${TRAVIS_COMMIT::8}
2121
- DOCKER_CACHE_FILE=${HOME}/docker/cache.tar.gz
2222
- REPO=webide/webide
23-
- NODE_ENV=production
23+
- NODE_ENV=prod
2424

2525
before_install:
2626
- sudo apt-get update
@@ -33,7 +33,7 @@ install: true
3333

3434
script:
3535
- set -e
36-
- cd frontend && yarn && pwd && ls node_modules/.bin && yarn run build
36+
- cd frontend && yarn && yarn run build
3737
- cd ../frontend-webjars && mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
3838
- cd ../backend && mvn package -DskipTests=true -Dmaven.javadoc.skip=true -B -V
3939
- cd .. && docker build -f Dockerfile -t $REPO:$COMMIT .

0 commit comments

Comments
 (0)