Skip to content

Commit 516e35b

Browse files
committed
ci: fix
1 parent c8f308b commit 516e35b

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/size-report.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,20 @@ jobs:
2828
- run: PUPPETEER_SKIP_DOWNLOAD=1 pnpm install
2929
- run: pnpm run size
3030

31-
- name: Upload Size Report
32-
uses: actions/upload-artifact@v3
33-
with:
34-
name: size-report
35-
path: temp/size
36-
3731
- name: Download Previous Size Report
3832
id: download-artifact
3933
uses: dawidd6/action-download-artifact@v2
40-
continue-on-error: true
4134
with:
42-
pr: ${{github.event.pull_request.number}}
43-
# branch: main
35+
branch: main
4436
name: size-report
45-
workflow_conclusion: ''
4637
path: temp/size-prev
38+
if_no_artifact_found: warn
39+
40+
- name: Upload Size Report
41+
uses: actions/upload-artifact@v3
42+
with:
43+
name: size-report
44+
path: temp/size
4745

4846
- name: Compare size
4947
run: node scripts/size-report.js > size.md

0 commit comments

Comments
 (0)