mirror of https://github.com/vuejs/core.git
ci: re-fix size report (#11204)
This commit is contained in:
parent
423b462e59
commit
4e8045b18e
|
@ -13,7 +13,6 @@ permissions:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PUPPETEER_SKIP_DOWNLOAD: 'true'
|
PUPPETEER_SKIP_DOWNLOAD: 'true'
|
||||||
COMMENT_MARKER: <!-- VUE_CORE_SIZE -->
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
size-report:
|
size-report:
|
||||||
|
@ -54,14 +53,12 @@ jobs:
|
||||||
if_no_artifact_found: warn
|
if_no_artifact_found: warn
|
||||||
|
|
||||||
- name: Prepare report
|
- name: Prepare report
|
||||||
run: |
|
run: pnpm tsx scripts/size-report.ts > size-report.md
|
||||||
pnpm tsx scripts/size-report.ts > size-report.md
|
|
||||||
echo '${{ env.COMMENT_MARKER }}' >> size-report.md
|
|
||||||
|
|
||||||
- name: Create Comment
|
- name: Create Comment
|
||||||
uses: thollander/actions-comment-pull-request@v2.5.0
|
uses: thollander/actions-comment-pull-request@v2.5.0
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
filePath: size-report.md
|
filePath: size-report.md
|
||||||
comment_tag: ${{ env.COMMENT_MARKER }}
|
|
||||||
pr_number: ${{ github.event.workflow_run.pull_requests[0].number }}
|
pr_number: ${{ github.event.workflow_run.pull_requests[0].number }}
|
||||||
|
comment_tag: VUE_CORE_SIZE
|
||||||
|
|
Loading…
Reference in New Issue