From 31b0541809c91f5131ec0c945396960a09ffc5bb Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Thu, 7 Feb 2019 09:00:03 -0800 Subject: [PATCH] publish: add prepublish action for debugging --- .github/main.workflow | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/main.workflow b/.github/main.workflow index be033a5a..e3d633cd 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -34,9 +34,15 @@ action "deploy" { ] } -action "publish" { +action "prepublish" { needs = ["lint", "test"] - uses = "primer/publish@master" + uses = "actions/npm@v2.0.0" + args = "config ls" +} + +action "publish" { + needs = ["prepubilsh"] + uses = "primer/publish@v1.0.0" args = ["--unsafe-perms"] secrets = ["GITHUB_TOKEN", "NPM_AUTH_TOKEN"] env = {