From 6a46f31144f4dd03e21725ac5f9f7294f0d8b13b Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 8 Sep 2025 17:22:39 +0200 Subject: [PATCH] build: do not include custom ESLint rules testing in tarball PR-URL: https://github.com/nodejs/node/pull/59809 Reviewed-By: Richard Lau Reviewed-By: Tierney Cyren Reviewed-By: Luigi Pinca --- .github/workflows/build-tarball.yml | 10 ---------- Makefile | 1 + 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/build-tarball.yml b/.github/workflows/build-tarball.yml index 34764d94927e63..6811fa65b53251 100644 --- a/.github/workflows/build-tarball.yml +++ b/.github/workflows/build-tarball.yml @@ -99,15 +99,5 @@ jobs: echo "TAR_DIR=$RUNNER_TEMP/$(basename tarballs/*.tar.gz .tar.gz)" >> "$GITHUB_ENV" - name: Build run: make -C "$TAR_DIR" build-ci -j4 V=1 - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - with: - persist-credentials: false - sparse-checkout: | - tools/eslint - tools/eslint-rules - - name: Move directories needed for testing - run: | - mv tools/eslint "$TAR_DIR/tools" - mv tools/eslint-rules "$TAR_DIR/tools" - name: Test run: make -C "$TAR_DIR" run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9" diff --git a/Makefile b/Makefile index 4af988c695fbb0..49b84f43cdba94 100644 --- a/Makefile +++ b/Makefile @@ -1227,6 +1227,7 @@ $(TARBALL): release-only doc-only $(RM) -r $(TARNAME)/tools/cpplint.py $(RM) -r $(TARNAME)/tools/eslint $(RM) -r $(TARNAME)/tools/eslint-rules + $(RM) -r $(TARNAME)/test/parallel/test-eslint-* $(RM) -r $(TARNAME)/tools/license-builder.sh $(RM) -r $(TARNAME)/tools/eslint/node_modules $(RM) -r $(TARNAME)/tools/osx-*