From fd7e7f7310d8dbb9e33162cbbaf1ae8cedc5768e Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 29 May 2026 20:12:55 +0800 Subject: [PATCH] chore: build before stage publish --- .github/workflows/release.yml | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b620f5d..b9fa7db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,5 +33,8 @@ jobs: - name: Install Dependencies run: pnpm i + - name: Build Packages + run: pnpm build + - name: Publish run: pnpm stage publish --no-git-checks diff --git a/package.json b/package.json index d574e50..976be0a 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dev": "rslib --watch", "lint": "rslint && prettier . --check", "lint:fix": "rslint --fix && prettier . --write", - "prepare": "simple-git-hooks && rslib", + "prepare": "simple-git-hooks", "test": "rstest", "bump": "npx bumpp" },