File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Any Commit
2+
3+ on :
4+ pull_request :
5+ branches : main
6+ paths-ignore :
7+ - ' packages/docs/**'
8+ - ' packages/playground/**'
9+
10+ push :
11+ branches :
12+ - ' **'
13+ tags :
14+ - ' !**'
15+ paths-ignore :
16+ - ' packages/docs/**'
17+ - ' packages/playground/**'
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+ - uses : pnpm/action-setup@v4
29+ - uses : actions/setup-node@v4
30+ with :
31+ node-version : lts/*
32+ cache : pnpm
33+
34+ - name : Install
35+ run : pnpm install --frozen-lockfile
36+
37+ - name : Build
38+ run : pnpm -C packages/router build
39+
40+ - name : Build DTS
41+ run : pnpm -C packages/router build:dts
42+
43+ - name : Release
44+ run : pnpm dlx pkg-pr-new publish --compact --pnpm './packages/*'
You can’t perform that action at this time.
0 commit comments