We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df80a5e commit 4f5303fCopy full SHA for 4f5303f
.github/workflows/pkg.pr.new.yml
@@ -0,0 +1,44 @@
1
+name: Publish Any Commit
2
+
3
+on:
4
+ pull_request:
5
+ branches: v2
6
+ paths-ignore:
7
+ - 'packages/docs/**'
8
+ - 'packages/playground/**'
9
10
+ push:
11
+ branches:
12
+ - '**'
13
+ tags:
14
+ - '!**'
15
16
17
18
19
+jobs:
20
+ build:
21
+ runs-on: ubuntu-latest
22
23
+ steps:
24
+ - name: Checkout code
25
+ uses: actions/checkout@v4
26
+ with:
27
+ fetch-depth: 0
28
29
+ - run: corepack enable
30
31
+ - name: Set node
32
+ uses: actions/setup-node@v4
33
34
+ node-version: lts/*
35
+ cache: pnpm
36
37
+ - name: Install
38
+ run: pnpm install
39
40
+ - name: Build
41
+ run: pnpm build
42
43
+ - name: Release
44
+ run: pnpm dlx pkg-pr-new publish --compact --pnpm './packages/*'
0 commit comments