From 3be8599d05bc754419f58bfa41e04d24c4156d4f Mon Sep 17 00:00:00 2001 From: Yu Chun Tsao Date: Mon, 30 Oct 2023 23:41:36 +0800 Subject: [PATCH] fix: release.yml without build package --- .github/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e4fb50..6d94872 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,9 +19,11 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: "pnpm" - - name: Install dependencies - run: pnpm install - - name: Release + - name: Install dependencies and build + run: | + pnpm install + pnpm run release + - name: Publish env: GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}