Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Commit

Permalink
Improve deployment definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
alrik committed Jan 9, 2018
1 parent 3d5173f commit 5aa08c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,10 @@ git:
depth: 3
script:
- yarn validate-schema

jobs:
include:
- stage: publish
node_js: "8"
script: echo "publish to npm"
deploy:
provider: npm
email: [email protected]
api_key: $NPM_API_KEY
on:
tags: true
deploy:
provider: npm
email: [email protected]
api_key: $NPM_API_KEY
on:
tags: true
node: "8"
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
},
"devDependencies": {
"ajv-cli": "^2.1.0"
},
"publishConfig": {
"access": "public"
}
}

0 comments on commit 5aa08c1

Please sign in to comment.