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

Commit

Permalink
Add support for automatic publishing to the npm registry upon pushing…
Browse files Browse the repository at this point in the history
… tags. (#5)
  • Loading branch information
alrik committed Jan 9, 2018
1 parent f7fddb9 commit 3d5173f
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,17 @@ node_js:
cache: yarn
git:
depth: 3
script:
- yarn validate-schema

jobs:
include:
- stage: test
script:
- yarn validate-schema
- stage: publish
node_js: "8"
script: echo "publish to npm"
deploy:
provider: npm
email: [email protected]
api_key: $NPM_API_KEY
on:
tags: true

0 comments on commit 3d5173f

Please sign in to comment.