Skip to content

Commit 3879a07

Browse files
authored
chore(ci): enable pkg-pr-new workflow
1 parent 3b33891 commit 3879a07

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Publish Any Commit
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- run: corepack enable
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: 20
23+
cache: "pnpm"
24+
25+
- name: Install dependencies
26+
run: pnpm install
27+
28+
- name: Build
29+
run: pnpm build
30+
31+
- name: Publish
32+
run: pnpm dlx pkg-pr-new publish --compact

0 commit comments

Comments
 (0)