diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index e6e65ef..6df4f9d 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -3,9 +3,10 @@ name: Node.js Package -on: - release: - types: [created] +# on: +# release: +# types: [created] +on: push jobs: build: @@ -28,6 +29,7 @@ jobs: node-version: 16 registry-url: https://registry.npmjs.org/ - run: npm install - - run: npm publish + # - run: npm publish + - run: npm publish --dry-run env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}