Skip to content

Commit 264721d

Browse files
committed
chore: add pkg-pr-new workflow for automated publishing
1 parent 1b8b54e commit 264721d

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/pkg-pr-new.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Pkg PR New
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout Repository
9+
uses: actions/checkout@v7
10+
- name: Setup pnpm
11+
uses: pnpm/action-setup@v6
12+
- name: Use Node.js lts/*
13+
uses: actions/setup-node@v7
14+
with:
15+
node-version: lts/*
16+
- name: Install dependencies
17+
run: pnpm install
18+
- name: Build
19+
run: pnpm build
20+
- run: pnpm exec pkg-pr-new publish --pnpm './packages/*'

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"@biomejs/biome": "catalog:",
2727
"knip": "6.32.2",
2828
"markdownlint-cli2": "0.23.2",
29+
"pkg-pr-new": "^0.0.88",
2930
"typescript": "catalog:",
3031
"wireit": "0.14.13"
3132
},

0 commit comments

Comments
 (0)