diff --git a/.github/workflows/publish-on-release.yml b/.github/workflows/publish-on-release.yml index a2975fbcb..779d3d2a8 100644 --- a/.github/workflows/publish-on-release.yml +++ b/.github/workflows/publish-on-release.yml @@ -43,6 +43,10 @@ jobs: with: node-version: 24 registry-url: https://registry.npmjs.org/ + - run: npm --version + - name: Update npm + run: npm install -g npm@latest + - run: npm --version - if: ${{ !github.event.release.prerelease }} run: npm publish - if: ${{ github.event.release.prerelease }}