Skip to content

Commit f5e1092

Browse files
authored
ci: setup pkg.pr.new (#83)
1 parent bcfdcf9 commit f5e1092

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish any commit with pkg.pr.new
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v4
11+
12+
- uses: pnpm/action-setup@v4
13+
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: 20
17+
cache: pnpm
18+
19+
- name: Install dependencies
20+
run: pnpm install
21+
22+
- name: Build
23+
run: pnpm build
24+
25+
- run: pnpm dlx pkg-pr-new publish './packages/client' --packageManager=pnpm

0 commit comments

Comments
 (0)