Skip to content

Commit a6cc1ef

Browse files
committed
ci: add pkg-pr-new
1 parent ab5c0f5 commit a6cc1ef

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/release-pr.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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 Repo
10+
uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
13+
14+
- uses: pnpm/[email protected]
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: lts/*
20+
cache: pnpm
21+
22+
- name: Install dependencies
23+
run: pnpm install
24+
25+
- name: Build
26+
run: pnpm build
27+
28+
- name: Publish
29+
run: pnpm dlx pkg-pr-new publish --compact

0 commit comments

Comments
 (0)