Skip to content

Commit

Permalink
Added - Publish on NPM action
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei authored Feb 12, 2019
1 parent e81429f commit 5483d7b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,14 @@ action "Test" {
uses = "actions/npm@master"
args = "test"
}

workflow "Publish on NPM" {
on = "release"
resolves = ["Publish"]
}

action "Publish" {
uses = "actions/npm@master"
args = "publish"
secrets = ["NPM_AUTH_TOKEN"]
}

0 comments on commit 5483d7b

Please sign in to comment.