Skip to content

Commit d4f7649

Browse files
authored
feat(release): add build step to semantic-release in Travis (#192)
1 parent 09e1288 commit d4f7649

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ script: yarn run-example
1313
after_success:
1414
# run automated release process with semantic-release
1515
- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" && "$TRAVIS_NODE_VERSION" == "stable" ]]; then
16+
npm run build;
1617
semantic-release;
1718
fi;
1819

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "karma-sauce-launcher",
33
"version": "3.0.1",
44
"description": "A Karma plugin. Launch any browser on SauceLabs!",
5-
"main": "./index.js",
5+
"main": "./dist/index.js",
66
"scripts": {
77
"build": "tsc -p src/ && cp package.json dist/",
88
"run-example": "yarn build && yarn copy-dist-to-modules && yarn run-example-karma",

0 commit comments

Comments
 (0)