We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8bb380 commit 68777d8Copy full SHA for 68777d8
.github/workflows/pkg-pr.yml
@@ -0,0 +1,35 @@
1
+name: Publish Any Commit
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - '**'
7
+ tags:
8
+ - '!**'
9
+ pull_request:
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v4
18
19
+ - name: Enable Corepack
20
+ run: corepack enable
21
22
+ - name: Setup Node.js
23
+ uses: actions/setup-node@v4
24
+ with:
25
+ node-version: 20
26
+ cache: "pnpm"
27
28
+ - name: Install dependencies
29
+ run: pnpm install
30
31
+ - name: Build
32
+ run: pnpm prepack
33
34
+ - name: Publish
35
+ run: pnpx pkg-pr-new publish
0 commit comments