From afe10145d4d0661eb4c3666e444e3a6f090a4ffb Mon Sep 17 00:00:00 2001 From: Simon Farshid Date: Wed, 19 Jun 2024 09:30:21 -0700 Subject: [PATCH] fix: rebuild before release (#243) --- .github/workflows/changeset.yaml | 3 ++- package.json | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/changeset.yaml b/.github/workflows/changeset.yaml index c827947ed..a4a933bd2 100644 --- a/.github/workflows/changeset.yaml +++ b/.github/workflows/changeset.yaml @@ -37,7 +37,8 @@ jobs: with: commit: "chore: update versions" title: "chore: update versions" - publish: pnpm publish -r + version: pnpm ci:version + publish: pnpm ci:publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index 4d01e9a68..54d01346b 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,10 @@ { "name": "assistant-ui", - "private": "true", + "private": true, "scripts": { - "lint": "biome lint ." + "lint": "biome lint .", + "ci:version": "changeset version && pnpm install --no-frozen-lockfile", + "ci:publish": "turbo clean && turbo build && changeset publish" }, "devDependencies": { "@biomejs/biome": "1.8.1",