From 59919f9d2a53ef8466ce502b9e13773605d66a8e Mon Sep 17 00:00:00 2001 From: seven Date: Wed, 18 Sep 2024 18:39:31 +0800 Subject: [PATCH] verify release pipeline Signed-off-by: seven --- .github/workflows/release.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6716cbb1..aa8ef84b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,23 +39,23 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: build 🔧 run: npm run build - # - name: Generate changelog - # uses: jaywcjlove/changelog-generator@main - # id: changelog - # with: - # token: ${{ secrets.GITHUB_TOKEN }} - # - name: Build Release - # uses: jaywcjlove/create-tag-action@main - # id: tag_release - # with: - # release: true - # token: ${{ secrets.GITHUB_TOKEN }} - # body: | - # ${{ steps.changelog.outputs.compareurl }} - # - # ${{ steps.changelog.outputs.changelog }} + - name: Generate changelog + uses: jaywcjlove/changelog-generator@main + id: changelog + with: + token: ${{ secrets.GITHUB_TOKEN }} + - name: Build Release + uses: jaywcjlove/create-tag-action@main + id: tag_release + with: + release: true + token: ${{ secrets.GITHUB_TOKEN }} + body: | + ${{ steps.changelog.outputs.compareurl }} + + ${{ steps.changelog.outputs.changelog }} - name: Publish package on NPM 📦 - # if: steps.tag_release.outputs.successful + if: steps.tag_release.outputs.successful run: npm publish --provenance --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}