chore: add output/ to .gitignore #38
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 stage:release | |
| - run: pnpm verify:release | |
| - run: npm pack --json packages/x402-proxy/.release/x402-proxy > /dev/null | |
| - run: npm pack --json packages/x402-proxy/.release/x402-proxy-openclaw > /dev/null | |
| - run: npm publish --provenance --access public packages/x402-proxy/.release/x402-proxy | |
| - run: npm publish --provenance --access public packages/x402-proxy/.release/x402-proxy-openclaw | |
| - 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" |