Skip to content

Commit 5411e30

Browse files
committed
ci: publish any commit
1 parent e3dd583 commit 5411e30

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish Any Commit
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
push:
8+
branches:
9+
- '**'
10+
tags:
11+
- '!**'
12+
13+
jobs:
14+
release:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v6
18+
with:
19+
fetch-depth: 0
20+
- uses: pnpm/action-setup@v4
21+
- uses: actions/setup-node@v6
22+
with:
23+
node-version: lts/*
24+
cache: pnpm
25+
26+
- run: pnpm install --frozen-lockfile
27+
- run: pnpm run build
28+
- run: pnpm dlx pkg-pr-new publish --pnpm --compact

0 commit comments

Comments
 (0)