Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
49 changes: 0 additions & 49 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
{
Expand Down