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
41 changes: 41 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Publish to NPM

on:
pull_request:
types: [closed]
branches: [main]

jobs:
publish-npm:
# Only run if PR was merged (not just closed)
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: bun install

- name: Build project
run: bun run build

- name: Publish to NPM
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.6.3] - 2025-10-22

### Added
- **Release Script**: Added `release` script to package.json for streamlined release workflow
- The release script now runs `bun run build && npm publish` to build and publish in one command
- **GitHub Workflow**: Added automatic NPM publishing workflow that triggers on PR merge to main

### Changed
- **Version Bump**: Updated version from 1.6.2 to 1.6.3

## [1.6.1] - 2025-10-16

### Fixed
Expand Down
1 change: 1 addition & 0 deletions bun.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"lockfileVersion": 1,
"configVersion": 0,
"workspaces": {
"": {
"name": "@delorenj/mcp-server-trello",
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@delorenj/mcp-server-trello",
"mcpName": "io.github.delorenj/mcp-server-trello",
"version": "1.6.2",
"version": "1.6.3",
"description": "An MCP server for Trello boards, powered by Bun for maximum performance.",
"keywords": [
"mcp",
Expand Down Expand Up @@ -56,6 +56,7 @@
"access": "public"
},
"scripts": {
"build": "bunx tsc"
"build": "bunx tsc",
"release": "bun run build && npm publish"
}
}
Loading