Skip to content

Commit 43e6e54

Browse files
aduh95targos
authored andcommitted
build: do not include custom ESLint rules testing in tarball
PR-URL: #59809 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Tierney Cyren <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent e17c737 commit 43e6e54

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

.github/workflows/build-tarball.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,5 @@ jobs:
9494
echo "TAR_DIR=$RUNNER_TEMP/$(basename tarballs/*.tar.gz .tar.gz)" >> "$GITHUB_ENV"
9595
- name: Build
9696
run: make -C "$TAR_DIR" build-ci -j4 V=1
97-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
98-
with:
99-
persist-credentials: false
100-
sparse-checkout: |
101-
tools/eslint
102-
tools/eslint-rules
103-
- name: Move directories needed for testing
104-
run: |
105-
mv tools/eslint "$TAR_DIR/tools"
106-
mv tools/eslint-rules "$TAR_DIR/tools"
10797
- name: Test
10898
run: make -C "$TAR_DIR" run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,6 +1227,7 @@ $(TARBALL): release-only doc-only
12271227
$(RM) -r $(TARNAME)/tools/cpplint.py
12281228
$(RM) -r $(TARNAME)/tools/eslint
12291229
$(RM) -r $(TARNAME)/tools/eslint-rules
1230+
$(RM) -r $(TARNAME)/test/parallel/test-eslint-*
12301231
$(RM) -r $(TARNAME)/tools/license-builder.sh
12311232
$(RM) -r $(TARNAME)/tools/eslint/node_modules
12321233
$(RM) -r $(TARNAME)/tools/osx-*

0 commit comments

Comments
 (0)