2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

chore: switch to job summary (#10911)

This commit is contained in:
Jay
2026-05-19 14:41:37 +02:00
committed by GitHub
parent 7ce1a5abb2
commit e63e48c692
+5 -4
View File
@@ -8,7 +8,6 @@ on:
- reopened
permissions:
contents: read
pull-requests: write
jobs:
bundle-size:
@@ -33,7 +32,7 @@ jobs:
run: npm run build
- name: Compare bundle size
uses: axios/bundle-size@f15fb81ae6e3de06418f59498989e5aeeca9785d # 0.1.1
uses: axios/bundle-size@6940d767de28b002599d1ab36cc04748de2c49e7 # 0.2.0
with:
path: '.'
package-name: axios
@@ -43,6 +42,8 @@ jobs:
dist/browser/axios.cjs
dist/node/axios.cjs
output-file: bundle-size-comparison.json
comment-pr: true
github-token: ${{ github.token }}
release-stream: '1'
- name: Add bundle size report to summary
if: always() && hashFiles('bundle-size-comparison.md') != ''
run: cat bundle-size-comparison.md >> "$GITHUB_STEP_SUMMARY"