Skip to content

Commit b2717fb

Browse files
committed
Chore: Compile code before building examples on Travis
1 parent bf07b32 commit b2717fb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ script:
2828
npm run test:jest -- --runInBand
2929
fi
3030
fi
31+
# Compile code
32+
- npm run compile
3133
# Build all examples
3234
- npm run build
3335
- npm run build:customised

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@
153153
"build:customised": "node bin/styleguidist.js build --config examples/customised/styleguide.config.js",
154154
"build:sections": "node bin/styleguidist.js build --config examples/sections/styleguide.config.js",
155155
"prepublishOnly": "npm run compile",
156-
"publish": "npm run build",
157156
"test:browser:pre": "npm i --no-save puppeteer",
158157
"test:browser": "node test/browser.js examples/basic/styleguide/index.html",
159158
"test:browser:customised": "node test/browser.js examples/customised/styleguide/index.html",

0 commit comments

Comments
 (0)