☕️ Classic, reliable, trusted test framework for Node.js and the browser
chore: tag alpha releases as `alpha`, not `next` (#5951)
Ravi8e29413678a3
diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.ymlindex ea25d88a..8d26072f 100644--- a/.github/workflows/release-please.yml+++ b/.github/workflows/release-please.yml@@ -21,6 +21,7 @@ jobs:runs-on: ubuntu-latestoutputs:releaseCreated: ${{ steps.release.outputs.release_created }}+ version: ${{ steps.release.outputs.version }}permissions:contents: writepull-requests: write@@ -55,6 +56,17 @@ jobs:- name: Install dependenciesrun: npm ci --ignore-scripts --force --no-fund --no-audit- - run: npm publish --provenance --access public --tag=next+ - name: Determine npm dist-tag+ id: dist_tag+ env:+ VERSION: ${{ needs.release_please.outputs.version }}+ run: |+ if [[ "$VERSION" == *-alpha* ]]; then+ echo "tag=alpha" >> "$GITHUB_OUTPUT"+ else+ echo "tag=next" >> "$GITHUB_OUTPUT"+ fi++ - run: npm publish --provenance --access public --tag=${{ steps.dist_tag.outputs.tag }}env:NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}