diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 524332b..7035643 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,6 +16,7 @@ jobs: uses: borales/actions-yarn@v4 with: cmd: install + - run: npm run build publish-npm: needs: build runs-on: ubuntu-latest @@ -25,7 +26,6 @@ jobs: with: node-version: 20 registry-url: https://registry.npmjs.org - - run: npm run build - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}