Skip to content

Commit e6aa841

Browse files
authored
chore: publish PRs to pkg.pr.new (#204)
1 parent 082ccdf commit e6aa841

File tree

3 files changed

+359
-0
lines changed

3 files changed

+359
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish pkg.pr.new
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
7+
env:
8+
# See https://consoledonottrack.com/
9+
DO_NOT_TRACK: '1'
10+
11+
jobs:
12+
build-and-publish-snapshots-to-npm:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Install Dependencies
19+
uses: ./.github/workflows/actions/install-dependencies
20+
21+
- name: Run Build Step
22+
run: pnpm build
23+
24+
- name: Publish to pkg.pr.new
25+
run: pnpm pkg-pr-new publish

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"lefthook": "^1.12.4",
6565
"memfs": "^4.39.0",
6666
"mock-fs": "^5.5.0",
67+
"pkg-pr-new": "^0.0.59",
6768
"prettier": "^3.6.2",
6869
"typescript": "^5.9.2",
6970
"unbuild": "^3.6.1",

0 commit comments

Comments
 (0)