diff --git a/.github/workflows/publish-package-release.yml b/.github/workflows/publish-package-release.yml index bda3409d2e..4d92a48ba4 100644 --- a/.github/workflows/publish-package-release.yml +++ b/.github/workflows/publish-package-release.yml @@ -95,7 +95,10 @@ jobs: cache-dependency-path: '**/package-lock.json' - name: Install node modules - run: npx lerna bootstrap --scope=${{ env.PACKAGE_NAME }} --include-dependencies + run: npm ci --ignore-scripts + + - name: Bundle package + run: npm run bundle --workspace=${{env.PACKAGE_NAME}} - name: Read version id: get-version @@ -106,7 +109,7 @@ jobs: - name: Publish ${{env.RELEASE_TITLE}} v${{ steps.get-version.outputs.version }} on NPM working-directory: ${{env.PACKAGE_PATH}} - run: npm publish --tag '${{ inputs.tag}}' + run: npm publish --tag '${{ inputs.tag}} --dry-run' env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}