diff --git a/.gitignore b/.gitignore
index 880066b..040b2e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
 result
+result-*
 .direnv/
 .pre-commit-config.yaml
 # ignore vm images
diff --git a/ci-scripts/report-size.sh b/ci-scripts/report-size.sh
index fc53af0..ac61e64 100755
--- a/ci-scripts/report-size.sh
+++ b/ci-scripts/report-size.sh
@@ -1,8 +1,13 @@
+#!/bin/sh
+
 create_table() {
+	packages=$(nix flake show --json 2>/dev/null | jq --raw-output '.packages."x86_64-linux" | ".#" + keys[]')
 	# we want to split the words as each of them is a different installable
-	# shellcheck disable=SC2046
+	# shellcheck disable=SC2086
+	nix build $packages
+	# shellcheck disable=SC2086
 	table=$(nix path-info --size --closure-size --human-readable \
-		$(nix flake show --json 2>/dev/null | jq --raw-output '.packages."x86_64-linux" | ".#" + keys[]') |
+		$packages |
 		sed 's/^\(\S\+\)\(\s\+\)\(\S\+\)\(\s\+\)\(\S\+\)$/| \1\2| \3 | \4\5 |/')
 
 	cat <<-EOF
@@ -12,7 +17,9 @@ create_table() {
 	EOF
 }
 
-tea login add --url "$GITHUB_SERVER_URL" --token "$GITHUB_TOKEN"
-tea pulls list
+if [ "$CI" = "true" ]; then
+	tea login add --url "$GITHUB_SERVER_URL" --token "$GITHUB_TOKEN"
+	tea pulls list
+fi
 
 create_table