Publishing all commits to pkg.pr.new

This commit is contained in:
Glen Maddern 2025-05-05 15:11:18 +10:00 committed by Glen Maddern
parent c4a2d4a242
commit 67bd63192f
2 changed files with 31 additions and 0 deletions

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

@ -0,0 +1,30 @@
name: Publish Any Commit
on:
pull_request:
push:
branches:
- "**"
tags:
- "!**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- run: pnpm dlx pkg-pr-new publish --compact --bin