Skip to content

Commit a108826

Browse files
committed
fix: propertly build the plugin for npm release
1 parent ce7021d commit a108826

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ script:
1717
- npm test
1818
- npm run coveralls
1919

20-
before_deploy: npm run build
20+
before_deploy: npm run build:docs
2121

2222
deploy:
2323
provider: pages
@@ -34,4 +34,6 @@ jobs:
3434
- stage: release
3535
if: branch = master
3636
node_js: lts/*
37-
script: npx semantic-release
37+
script:
38+
- npm run build:plugin
39+
- npx semantic-release

0 commit comments

Comments
 (0)