Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #92 from CasperLabs/OP-1707
Browse files Browse the repository at this point in the history
Op 1707
  • Loading branch information
rob-casper authored Jan 22, 2021
2 parents d646985 + 4e71d31 commit 6dd527d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,30 @@ trigger:

depends_on:
- build-publish


---
kind: pipeline
type: docker
name: npm publish

steps:
- name: npm publish
image: "casperlabs/clarity-build:latest"
environment:
NPM_TOKEN:
from_secret: npm_token
commands:
- "git fetch"
- "git checkout $DRONE_TAG"
- "cd packages/sdk"
- "npm version"
- "npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN"
- "npm whoami"
- "npm publish --verbose"

trigger:
event:
- tag


0 comments on commit 6dd527d

Please sign in to comment.