Skip to content

Commit

Permalink
Merge pull request #19 from primer/release-4.0.1
Browse files Browse the repository at this point in the history
Add primer/publish action
  • Loading branch information
shawnbot authored Feb 11, 2019
2 parents 0eb0ca1 + 8a3da9d commit af92262
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/main.workflow
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
workflow "lint & test" {
on = "push"
resolves = ["lint", "test"]
resolves = [
"lint",
"test",
"publish",
]
}

action "install" {
Expand All @@ -19,3 +23,9 @@ action "test" {
uses = "actions/npm@master"
args = "test"
}

action "publish" {
uses = "primer/[email protected]"
needs = ["test"]
secrets = ["GITHUB_TOKEN", "NPM_AUTH_TOKEN"]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylelint-config-primer",
"version": "4.0.0",
"version": "4.0.1",
"description": "Sharable stylelint config used by GitHub's CSS",
"homepage": "http://primer.style/css/tools",
"author": "GitHub, Inc.",
Expand Down

0 comments on commit af92262

Please sign in to comment.