From e79914f437a269c8e3111105af3b4bba2e9e76b0 Mon Sep 17 00:00:00 2001 From: pllearns Date: Wed, 5 Feb 2020 16:54:24 -0800 Subject: [PATCH 1/2] update publish action to test npm --- .github/workflows/publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fedeb8d..8857de9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,7 @@ name: Publish on: release: - types: [published] + types: [created] jobs: build: @@ -15,5 +15,4 @@ jobs: registry-url: https://registry.npmjs.org/ - run: yarn install - run: npm publish --access public - env: NODE_AUTH_TOKEN: $ {{ secrets.NPM_TOKEN }} \ No newline at end of file From e1b6291710f0da6b68002bf4fae4e7484c758f11 Mon Sep 17 00:00:00 2001 From: pllearns Date: Wed, 5 Feb 2020 16:55:37 -0800 Subject: [PATCH 2/2] fix workflow error --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8857de9..e7849f4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,4 +15,5 @@ jobs: registry-url: https://registry.npmjs.org/ - run: yarn install - run: npm publish --access public + env: NODE_AUTH_TOKEN: $ {{ secrets.NPM_TOKEN }} \ No newline at end of file