Skip to content

Commit 9c62bbd

Browse files
authored
add continuous release workflow (#65)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Added a continuous release workflow to build and publish packages automatically on pushes and pull requests. * No direct user-facing changes in this release. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2 parents 9f9c0ae + f109ac4 commit 9c62bbd

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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: 22
16+
cache: "pnpm"
17+
18+
- name: Install dependencies
19+
run: pnpm install
20+
21+
- name: Build
22+
run: pnpm build
23+
- run: pnpm dlx pkg-pr-new publish './packages/*' --packageManager=pnpm

0 commit comments

Comments
 (0)