We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fcfe79 commit e34cadcCopy full SHA for e34cadc
.github/workflows/pkg.pr.new.yml
@@ -0,0 +1,37 @@
1
+name: Publish Any Commit
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
10
+jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ if: github.repository == 'ant-design/pro-components'
14
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v4
18
19
+ - uses: pnpm/action-setup@v4
20
+ name: Install pnpm
21
+ with:
22
+ run_install: false
23
24
+ - name: Install Node.js
25
+ uses: actions/setup-node@v4
26
27
+ node-version: 20
28
+ cache: 'pnpm'
29
30
+ - name: Install dependencies
31
+ run: pnpm install
32
33
+ - name: Build
34
+ run: pnpm build
35
36
+ # https://github.com/stackblitz-labs/pkg.pr.new#readme
37
+ - run: pnpx pkg-pr-new publish './packages/*' --no-template --compact
0 commit comments