Skip to content

feat: add OpenClaw plugin, --verbose flag, and MPP session fixes #9

feat: add OpenClaw plugin, --verbose flag, and MPP session fixes

feat: add OpenClaw plugin, --verbose flag, and MPP session fixes #9

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- "v*"
permissions:
contents: write
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: https://registry.npmjs.org
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm check
- run: pnpm build
- run: pnpm --filter x402-proxy test
- run: pnpm --filter x402-proxy publish --provenance --access public --no-git-checks
- name: Extract changelog and create GitHub release
env:
GH_TOKEN: ${{ github.token }}
run: |
VERSION="${GITHUB_REF_NAME#v}"
NOTES=$(awk "/^## \\[${VERSION}\\]/{found=1; next} /^## \\[/{if(found) exit} found{print}" packages/x402-proxy/CHANGELOG.md)
gh release create "$GITHUB_REF_NAME" --title "$GITHUB_REF_NAME" --notes "$NOTES"