From 672953cd481e3ee859ceb3c5cb5a71f503b8c405 Mon Sep 17 00:00:00 2001 From: chengpeiquan Date: Mon, 17 Mar 2025 01:00:33 +0800 Subject: [PATCH] fix(ci): release step --- .github/workflows/release.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14ebe54..54b7c05 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,6 +83,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Install dependencies + run: | + npm add -g pnpm + pnpm install - name: Download Final Assets uses: actions/download-artifact@v4 with: @@ -91,6 +99,4 @@ jobs: - name: Release env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - run: | - npm add -g pnpm - pnpm exec semantic-release + run: pnpm exec semantic-release