From 9a26451ded26cc0cf181ffaf88c8eeb053a6ddc8 Mon Sep 17 00:00:00 2001 From: Nick Ardecky Date: Thu, 6 Aug 2020 16:39:57 -0700 Subject: [PATCH 1/2] ci: Test CI push --- .github/workflows/publish-rc-to-npm.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-rc-to-npm.yaml b/.github/workflows/publish-rc-to-npm.yaml index 06425d1..b86aefa 100644 --- a/.github/workflows/publish-rc-to-npm.yaml +++ b/.github/workflows/publish-rc-to-npm.yaml @@ -27,6 +27,6 @@ jobs: registry-url: https://registry.npmjs.org/ - run: npm install - run: npm run build - - run: npm run publish:tag + - run: cd dist/zingchart-angular && npm publish --tag beta --access public env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} \ No newline at end of file From 03147a05b7737e05b613aab58b71873b7a072463 Mon Sep 17 00:00:00 2001 From: Nick Ardecky Date: Thu, 6 Aug 2020 16:44:52 -0700 Subject: [PATCH 2/2] ci: Test release beta --- .github/workflows/publish-rc-to-npm.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-rc-to-npm.yaml b/.github/workflows/publish-rc-to-npm.yaml index b86aefa..eb0e2bb 100644 --- a/.github/workflows/publish-rc-to-npm.yaml +++ b/.github/workflows/publish-rc-to-npm.yaml @@ -4,10 +4,13 @@ name: Publish RC to NPM # only run when a release has been "published" -on: - release: - types: [prereleased] - +# on: +# release: +# types: [prereleased] +on: + push: + branches: + - test jobs: # publish to npm on release