File tree Expand file tree Collapse file tree 4 files changed +523
-1
lines changed Expand file tree Collapse file tree 4 files changed +523
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Diff
2+
3+ on :
4+ pull_request :
5+ branches : [main]
6+ push :
7+ branches : [main]
8+
9+ jobs :
10+ Build :
11+ runs-on : ubuntu-latest
12+
13+ permissions :
14+ contents : write
15+ issues : write
16+ pull-requests : write
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
20+ with :
21+ fetch-depth : 0
22+ token : ${{ secrets.GITHUB_TOKEN }}
23+
24+ - name : Setup Pnpm
25+ run : |
26+ npm install -g corepack@latest --force
27+ corepack enable
28+
29+ - name : Setup Node.js
30+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
31+ with :
32+ node-version : 22
33+ cache : ' pnpm'
34+
35+ - name : Install Dependencies and Build
36+ run : |
37+ pnpm install
38+
39+ - name : Build Demo Project
40+ run : |
41+ cd website
42+ pnpm install
43+ RSDOCTOR=1 pnpm run build
44+
45+ - name : Report Compressed Size
46+ uses : web-infra-dev/rsdoctor-action@feat/no-baseline-report
47+ with :
48+ github_token : ${{ secrets.GITHUB_TOKEN }}
49+ file_path : ' website/doc_build/web/rsdoctor-data.json'
50+ target_branch : ' main'
You can’t perform that action at this time.
0 commit comments