diff --git a/.github/workflows/size-report.yml b/.github/workflows/size-report.yml index 42c8c94..b507c20 100644 --- a/.github/workflows/size-report.yml +++ b/.github/workflows/size-report.yml @@ -58,6 +58,8 @@ jobs: id: calculate-size run: | echo "$(pwd)/dist" + PREVIOUS_SIZE=$(pnpm tsx scripts/size-report.ts $DIST_PATH) + echo "PREVIOUS_SIZE=$PREVIOUS_SIZE" >> $GITHUB_ENV CURRENT_SIZE=$(pnpm tsx scripts/size-report.ts) echo "CURRENT_SIZE=$CURRENT_SIZE" >> $GITHUB_ENV