diff --git a/.github/workflows/publish-rc-to-npm.yaml b/.github/workflows/publish-rc-to-npm.yaml index 06425d1..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 @@ -27,6 +30,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