Skip to content

Commit afa07ce

Browse files
committed
ci: add pkg-pr-new publish workflow for PR previews
1 parent 6377406 commit afa07ce

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: publish
2+
on:
3+
pull_request: {}
4+
push:
5+
branches: [next]
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v6
11+
- run: npm i -fg corepack && corepack enable
12+
- uses: actions/setup-node@v6
13+
with: { node-version: lts/*, cache: "pnpm" }
14+
- run: pnpm install
15+
- run: pnpm build
16+
- run: pnpx pkg-pr-new publish --no-template --pnpm './packages/*'

0 commit comments

Comments
 (0)