Skip to content
Closed
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
47 changes: 14 additions & 33 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,22 @@ on:
push:
branches:
- main
paths:
- "apps/**"
- "packages/**"

permissions:
contents: write
pull-requests: write
Comment thread
cubic-dev-ai[bot] marked this conversation as resolved.
# release-please labels its release PRs through the issues API
issues: write

jobs:
release:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write

steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0

- uses: oven-sh/setup-bun@v2

- uses: actions/setup-node@v6
# RELEASE_PLEASE_TOKEN (PAT or GitHub App token) lets CI and cubic run on the
# release PR; the default github.token cannot trigger other workflows, which
# would leave the required "check" status missing on release PRs.
- uses: googleapis/release-please-action@v4
with:
node-version: "lts/*"

- run: bun install

- name: Release MCP Server
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HUSKY: 0
working-directory: apps/mcp-server
run: bunx semantic-release

- name: Release Web
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HUSKY: 0
working-directory: apps/web
run: bunx semantic-release
token: ${{ secrets.RELEASE_PLEASE_TOKEN || github.token }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
5 changes: 5 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"apps/mcp-server": "1.3.0",
"apps/web": "1.3.0",
"packages/shared": "1.3.0"
}
21 changes: 0 additions & 21 deletions apps/mcp-server/.releaserc.json

This file was deleted.

21 changes: 0 additions & 21 deletions apps/web/.releaserc.json

This file was deleted.

933 changes: 8 additions & 925 deletions bun.lock

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"lint": "biome check .",
"format": "biome check --write .",
"typecheck": "bun run --cwd apps/web typecheck && bun run --cwd apps/mcp-server typecheck && bun run --cwd packages/shared typecheck",
"release": "semantic-release",
"deploy": "bun run format && bun run lint && bun run --cwd apps/web deploy",
"prepare": "lefthook install",
"db:up": "docker compose up -d",
Expand All @@ -32,13 +31,8 @@
},
"devDependencies": {
"@biomejs/biome": "^2.3.13",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.2",
"fast-xml-parser": "^5.7.2",
"lefthook": "^2.0.16",
"semantic-release": "^25.0.2",
"typescript": "~5.9.3"
}
}
27 changes: 27 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"packages": {
Comment thread
cubic-dev-ai[bot] marked this conversation as resolved.
"apps/mcp-server": {
Comment thread
caio-pizzol marked this conversation as resolved.
"release-type": "node",
"component": "mcp",
"include-component-in-tag": true
},
"apps/web": {
"release-type": "node",
"component": "web",
"include-component-in-tag": true
},
"packages/shared": {
"release-type": "node",
"component": "shared",
"include-component-in-tag": true
}
},
"plugins": [
{
"type": "linked-versions",
"groupName": "mcp-server",
"components": ["mcp", "shared"]
}
]
}