Skip to content

Commit f6f152a

Browse files
committed
ci: add pkg.pr.new integration
1 parent 242c058 commit f6f152a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,16 @@ jobs:
3333
- run: pnpm install
3434
- run: pnpm changelogen --bump -r 2.0.0 --canary nightly
3535
- run: npm i -g npm@latest && npm publish --tag latest
36+
publish-pkg-pr-new:
37+
runs-on: ubuntu-latest
38+
timeout-minutes: 10
39+
needs: tests
40+
steps:
41+
- uses: actions/checkout@v6
42+
with: { fetch-depth: 0 }
43+
- run: npm i -fg corepack && corepack enable
44+
- uses: actions/setup-node@v6
45+
with: { node-version: lts/*, cache: "pnpm" }
46+
- run: pnpm install
47+
- run: pnpm build
48+
- run: pnpm dlx pkg-pr-new publish || true

0 commit comments

Comments
 (0)