Skip to content
Merged
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
27 changes: 4 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,28 +135,9 @@ jobs:
- name: Publish to npm
if: steps.version.outputs.new_tag
run: |
# Publish core package first as other packages depend on it
cd packages/core
pnpm publish --access public --no-git-checks
cd ../..

# Publish content-loader package
cd packages/content-loader
pnpm publish --access public --no-git-checks
cd ../..

# Publish MCP server as standalone package
cd packages/mcp-server
pnpm publish --access public --no-git-checks
cd ../..

# Convert workspace dependencies to actual versions for publishing
# NOTE: pnpm 10+ now handles this automatically during pack/publish
# Keeping this line for reference, but it's no longer needed with pnpm 10.29.3+
# NEW_VERSION=${{ steps.version.outputs.new_version }}
# find packages -name "package.json" -exec sed -i 's/"workspace:\*"/"^'$NEW_VERSION'"/g' {} \;

# Publish main package
pnpm publish --access public --no-git-checks
# Publish only public packages (those without "private": true)
# Using pnpm publish with --filter to exclude private packages
pnpm --filter '@codemcp/knowledge-server' publish --access public --no-git-checks
pnpm --filter '@codemcp/knowledge' publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading