From 3107df2a561e928edd68277631bf0add8e9821a6 Mon Sep 17 00:00:00 2001 From: Hayden Chen Date: Thu, 27 Jul 2023 11:01:39 +0800 Subject: [PATCH] ci: Update release.yml --- .github/workflows/release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3becee6..160d530 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,16 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18 + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: 7 + run_install: false - name: Install dependencies - run: yarn + run: pnpm install - name: Build - run: yarn build + run: pnpm build - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: npx semantic-release \ No newline at end of file + run: npx semantic-release