Skip to main content
Glama

LicenseSpring MCP Server

by stier1ba
WORKFLOW_DISPATCH_GUIDE.mdโ€ข4.8 kB
# GitHub Actions Workflow Dispatch Guide ## ๐Ÿš€ How to Trigger Manual Release ### Step-by-Step Instructions 1. **Navigate to Repository** - Go to: https://github.com/stier1ba/licensespring-mcp 2. **Access GitHub Actions** - Click the **"Actions"** tab 3. **Select Release Workflow** - In the left sidebar, click **"Release and Publish"** 4. **Run Workflow** - Click the **"Run workflow"** button (blue button) - Select branch: **main** - Choose release type: **patch** (for 1.1.0 โ†’ 1.1.1) - Click **"Run workflow"** ### What You'll See ``` โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ Run workflow โ”‚ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค โ”‚ Use workflow from: [main โ–ผ] โ”‚ โ”‚ โ”‚ โ”‚ Release type โ”‚ โ”‚ [patch โ–ผ] โ”‚ โ”‚ โ”œโ”€ patch โ”‚ โ”‚ โ”œโ”€ minor โ”‚ โ”‚ โ”œโ”€ major โ”‚ โ”‚ โ””โ”€ prerelease โ”‚ โ”‚ โ”‚ โ”‚ [Run workflow] โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ ``` ## ๐Ÿ“Š Workflow Execution Stages ### Stage 1: Check Release Trigger โœ… - Validates workflow dispatch input - Determines release type (patch) - Sets up workflow variables ### Stage 2: Test Suite ๐Ÿงช - **Node.js 18.x Testing** - Install dependencies - Run linter - Execute unit tests - Build project - Run comprehensive tests - **Node.js 20.x Testing** - Same test suite on different Node version - Ensures compatibility ### Stage 3: Release Process ๐Ÿš€ - **Version Management** - Bump version: 1.1.0 โ†’ 1.1.1 - Update package.json and package-lock.json - Generate changelog entry - **Git Operations** - Create commit: "chore: bump version to 1.1.1 [skip ci]" - Create git tag: v1.1.1 - Push changes to repository - **GitHub Release** - Generate release notes from commits - Create GitHub release with assets - Attach changelog and package files - **NPM Publishing** - Validate package contents - Publish to NPM registry - Update distribution documentation ## โš ๏ธ NPM Token Requirements ### If NPM_TOKEN is Configured โœ… - Full automation will complete - Package will be published to NPM - Release will be fully successful ### If NPM_TOKEN is Missing โŒ - All steps will complete except NPM publishing - Workflow will fail at the "Publish to NPM" step - GitHub release will still be created - Git tag and version bump will be successful ### Error Message Without NPM_TOKEN ``` Error: npm ERR! need auth This command requires you to be logged in. npm ERR! need auth You need to authorize this machine using `npm adduser` ``` ## ๐Ÿ”ง Setting Up NPM_TOKEN ### Quick Setup 1. **Create Token**: `npm token create --type=automation` 2. **Add to Secrets**: https://github.com/stier1ba/licensespring-mcp/settings/secrets/actions 3. **Name**: `NPM_TOKEN` 4. **Value**: Your npm token (starts with `npm_`) ## ๐Ÿ“ˆ Monitoring Progress ### Real-time Monitoring - Watch the workflow progress in the Actions tab - Each stage shows live logs and status - Estimated completion time: 3-5 minutes ### Success Indicators - โœ… All test stages pass - โœ… Version bump successful - โœ… Git tag created - โœ… GitHub release published - โœ… NPM package published (if token configured) ### Failure Handling - Workflow stops at first failure - Detailed error logs available - No partial releases (all-or-nothing approach) - Safe to retry after fixing issues ## ๐ŸŽฏ Expected Results ### Successful Release Will Create: 1. **New Version**: 1.1.1 in package.json 2. **Git Tag**: v1.1.1 in repository 3. **GitHub Release**: https://github.com/stier1ba/licensespring-mcp/releases/tag/v1.1.1 4. **NPM Package**: @tfedorko/licensespring-mcp-server@1.1.1 5. **Updated Changelog**: CHANGELOG.md with new entry ### Package Installation After Release: ```bash npm install @tfedorko/licensespring-mcp-server@1.1.1 # or npm install @tfedorko/licensespring-mcp-server@latest ``` ## ๐Ÿ”„ Alternative Trigger Methods ### Commit Message Trigger ```bash git commit -m "fix: resolve authentication issue [release]" git push origin main ``` ### Semantic Release (Conventional Commits) ```bash git commit -m "fix: resolve license validation bug" git push origin main ``` This guide ensures you can successfully trigger and monitor your automated release process!

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stier1ba/licensespring-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server