diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71f1468f6c..e4a6a3e80d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,19 +51,9 @@ jobs: - name: Install dependencies run: bun install --frozen-lockfile # Use --frozen-lockfile in CI - - name: Build packages - run: | - echo "🔨 Building packages before release..." - bun run -F @trycompai/db build - bun run -F @trycompai/email build - bun run -F @trycompai/kv build - bun run -F @trycompai/ui build - bun run -F @trycompai/analytics build - - name: Release env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # Enable npm publishing DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} HUSKY: 0 # Skip husky hooks in CI run: npx semantic-release diff --git a/release.config.js b/release.config.js index 44d1c1cff5..93072c52cd 100644 --- a/release.config.js +++ b/release.config.js @@ -14,55 +14,6 @@ module.exports = { }, ], '@semantic-release/changelog', - [ - '@semantic-release/npm', - { - npmPublish: false, // Root package stays private - }, - ], - // Publish each package individually - [ - '@semantic-release/npm', - { - npmPublish: true, - pkgRoot: 'packages/db', - }, - ], - [ - '@semantic-release/npm', - { - npmPublish: true, - pkgRoot: 'packages/email', - }, - ], - [ - '@semantic-release/npm', - { - npmPublish: true, - pkgRoot: 'packages/kv', - }, - ], - [ - '@semantic-release/npm', - { - npmPublish: true, - pkgRoot: 'packages/ui', - }, - ], - [ - '@semantic-release/npm', - { - npmPublish: true, - pkgRoot: 'packages/analytics', - }, - ], - [ - '@semantic-release/npm', - { - npmPublish: true, - pkgRoot: 'packages/tsconfig', - }, - ], [ '@semantic-release/git', {