Skip to content

Commit

Permalink
Only deploy from latest node job (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldarbi authored Mar 19, 2019
1 parent e1798a8 commit bff9470
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
before_install:
- npm i -g makeshift && makeshift -s @bloomberg -r registry.npmjs.org

language: node_js

node_js:
Expand All @@ -12,11 +9,13 @@ script:
- npm run lint
- npm run test

before_deploy: "npm i -g makeshift && makeshift -s @bloomberg -r registry.npmjs.org"
deploy:
provider: npm
email: [email protected]
api_key: $NPM_TOKEN
skip_cleanup: true
on:
tags: true
node: "node"
condition: -n "$NPM_TOKEN"
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bloomberg/pasta-sourcemaps",
"version": "1.0.3",
"version": "1.0.4",
"description": "Pretty (and) Accurate Stack Trace Analysis",
"main": "./dist/src/main.js",
"types": "./dist/src/main.d.ts",
Expand Down

0 comments on commit bff9470

Please sign in to comment.