From 7ef9099d328e90d19bc40b64148747e854b13e20 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Wed, 20 Sep 2023 17:19:21 -0400 Subject: Build: fix inconsistent builds in Node 20 - one fileOverrides per build - only run the lint build when running lint Close gh-5332 --- .github/workflows/node.js.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to '.github/workflows/node.js.yml') diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 65a1d2167..5be13bcdd 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -70,12 +70,8 @@ jobs: run: npx playwright-webkit install-deps if: matrix.NPM_SCRIPT == 'test:browser' && contains(matrix.BROWSERS, 'WebkitHeadless') - - name: Build jQuery for Lint - run: npm run build:all - if: matrix.NPM_SCRIPT == 'test:browserless' - - name: Lint code - run: npm run lint + run: npm run build:all && npm run lint if: matrix.NODE_VERSION == '18.x' - name: Prepare tests -- cgit v1.2.3