diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfaddcd..5cfb582 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: node-version: 12 registry-url: https://registry.npmjs.org/ - run: npm run release - if: ${{ github.event == 'push' }} + if: ${{ github.event_name == 'push' }} env: NPM_TOKEN: ${{secrets.NPM_TOKEN}} # f674......69f0 GITHUB_TOKEN: ${{secrets.github_token}}