Skip to content

Commit e6beeb0

Browse files
committed
fix(build): add the build to the deploy script
1 parent 22c9105 commit e6beeb0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
//registry.npmjs.org/:_authToken = ${NPM_TOKEN}

scripts/deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ if [[ ${TRAVIS_TEST_RESULT=0} == 1 ]]; then
77
exit 1;
88
fi
99

10+
# run the build
11+
npm run build
12+
#deploy with semantic-release
1013
npm run semantic-release
1114

1215
# deploy to gh pages

0 commit comments

Comments
 (0)