add pkg-pr-new bot (#1088)

This commit is contained in:
Paul Carleton 2025-11-07 16:52:11 +00:00 • committed by GitHub
commit 5e735c1554
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

27
.github/workflows/publish.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Publish Any Commit
permissions:
contents: read
on:
pull_request:
push:
branches:
- '**'
tags:
- '!**'
jobs:
build:
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