fix(ci): fix paths

This commit is contained in:
Łukasz Mierzwa
2023-12-01 10:06:31 +00:00
committed by Łukasz Mierzwa
parent c10ac05e49
commit 70e5b23d82

View File

@@ -6,12 +6,12 @@ set -o pipefail
git fetch origin main
git reset --hard FETCH_HEAD
make -C ui build/stats.json
make -C ui dist/stats.json
mv ui/dist/stats.json main.json
make clean
git reset --hard ${GITHUB_SHA}
make -C ui build/stats.json
make -C ui dist/stats.json
./scripts/cra-bundle-stats-diff.py main.json ui/dist/stats.json | tee diff.html
./scripts/pr-comment.py "Webpack bundle size diff" diff.html html