Skip to content

Commit 4ef1d35

Browse files
committed
Publish packages to pkg.pr.new
1 parent 2e59816 commit 4ef1d35

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
permissions:
4242
id-token: write
43+
pull-requests: write
4344
steps:
4445
- uses: actions/checkout@v6
4546

@@ -53,6 +54,9 @@ jobs:
5354
- name: Test build
5455
run: npm run build
5556

57+
- name: Publish to pkg.pr.new
58+
run: npx pkg-pr-new publish ./packages/*
59+
5660
- name: Pack all packages
5761
run: npm pack --workspaces
5862

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"globals": "^17.2.0",
2525
"make-fetch-happen": "^15.0.3",
2626
"npm-run-all": "^4.1.5",
27+
"pkg-pr-new": "^0.0.65",
2728
"prettier": "^3.7.4",
2829
"tsdown": "^0.20.1",
2930
"typescript": "^5.3.3",

0 commit comments

Comments
 (0)