Commit ebd52388a4b for nodejs
commit ebd52388a4b9c5887cf5a284067fb5f8032a7ae1
Author: inoway46 <inoueyuya416@gmail.com>
Date: Fri Sep 25 16:15:19 2026 +0900
tools: reduce source tarball compression in CI
Use gzip level 6 in build-tarball and test-shared to reduce tarball
creation time with a small increase in archive size.
Refs: https://github.com/nodejs/node/pull/66228#issuecomment-5822882231
Assisted-by: Codex
Signed-off-by: inoway46 <inoueyuya416@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/66228
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
diff --git a/.github/workflows/build-tarball.yml b/.github/workflows/build-tarball.yml
index 9091e216528..53e625ef889 100644
--- a/.github/workflows/build-tarball.yml
+++ b/.github/workflows/build-tarball.yml
@@ -94,7 +94,7 @@ jobs:
export DISTTYPE=nightly
export DATESTRING=$(date "+%Y-%m-%d")
export COMMIT=$(git rev-parse --short=10 "$GITHUB_SHA")
- ./configure && make tar -j4 SKIP_XZ=1
+ ./configure && make tar -j4 SKIP_XZ=1 GZIP_COMPRESSION=6
- name: Upload tarball artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
diff --git a/.github/workflows/test-shared.yml b/.github/workflows/test-shared.yml
index 9f4d2e031f5..4e649448cf0 100644
--- a/.github/workflows/test-shared.yml
+++ b/.github/workflows/test-shared.yml
@@ -133,7 +133,7 @@ jobs:
run: |
export DATESTRING=$(date "+%Y-%m-%d")
export COMMIT=$(git rev-parse --short=10 "$GITHUB_SHA")
- ./configure && make tar -j4 SKIP_XZ=1 SKIP_SHARED_DEPS=1
+ ./configure && make tar -j4 SKIP_XZ=1 SKIP_SHARED_DEPS=1 GZIP_COMPRESSION=6
env:
DISTTYPE: nightly