conformance/.github/workflows/pr-publish.yml
Paul Carleton 32f47f4222
Use --bin flag for pkg.pr.new to show npx commands (#40)
This shows `npx` commands instead of `npm i` in PR preview comments,
which is more appropriate for this CLI tool.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-20 11:48:01 +00:00

27 lines
464 B
YAML

name: Publish PR to pkg.pr.new
permissions:
contents: read
on:
pull_request:
push:
branches:
- '**'
tags:
- '!**'
jobs:
pr-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- run: npm ci
- name: Build
run: npm run build
- name: Publish
run: npx pkg-pr-new publish --bin