Files
browse/.github/workflows/publish.yml
T
Adam Ladachowski 36bab7088e v0.1.1: Add MCP support, Express, chalk logging
- Add MCP server for Claude Code integration (claude-browse-mcp)
- Switch to Express for HTTP server
- Add chalk + log-symbols for terminal output
- Add GitHub Actions publish workflow with trusted publisher

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 20:56:07 +01:00

59 lines
1.2 KiB
YAML

name: Release and Publish
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Install Playwright
run: npx playwright install webkit
- name: Build
run: npm run build
- name: Run checks
run: npm run check
# Create GitHub Release
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
# Publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- name: Publish to npm
run: npm publish --provenance --access public
# Publish to GitHub Packages
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://npm.pkg.github.com'
- name: Publish to GitHub Packages
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}