Skip to content

Commit 1e39120

Browse files
committed
Ensure build step is run before travis deploy
We were not actually building the project before so the deployed bundle didn't have any module code in it.
1 parent 44409ec commit 1e39120

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ node_js:
44
- lts/*
55
- node
66

7+
before_deploy:
8+
- npm run build
9+
710
deploy:
811
provider: npm
912
email: $NPM_EMAIL

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsorm",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"description": "Javascript ORM",
55
"main": "_bundles/jsorm.js",
66
"module": "lib-esm/index.js",

0 commit comments

Comments
 (0)