Skip to content

Commit b5750ac

Browse files
chore: setup pkg.pr.new (#13891)
* chore: setup `pkg.pr.new` * chore: let's try with this
1 parent 771b1e8 commit b5750ac

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish Any Commit
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+
- run: corepack enable
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: 18.x
16+
cache: pnpm
17+
18+
- name: Install dependencies
19+
run: pnpm install --frozen-lockfile
20+
21+
- name: Build
22+
run: pnpm build
23+
24+
- run: pnpx pkg-pr-new publish --compact --no-template './packages/svelte'

0 commit comments

Comments
 (0)