From ed9444d0beafd246ff97e5c0e9aeaf86ea51ea80 Mon Sep 17 00:00:00 2001 From: Dominic Date: Wed, 18 Dec 2024 10:29:55 +0100 Subject: [PATCH] fix(build-and-test-with-yarn): add eslint checks for v5 This fixes an issue where ESLint v5 would not be run --- build-and-test-with-yarn/action.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-and-test-with-yarn/action.yaml b/build-and-test-with-yarn/action.yaml index f9a97df..c3011f5 100644 --- a/build-and-test-with-yarn/action.yaml +++ b/build-and-test-with-yarn/action.yaml @@ -167,7 +167,8 @@ runs: id: checkEsLint run: | FILE=${{ inputs.eslint-configuration-file }} - if [ -f "$FILE" ] + ESLINT_V5_FILE=eslint.config.mjs + if [ -f "$FILE" ] || [ -f "$ESLINT_V5_FILE" ] then echo "runEslint=true" >> "$GITHUB_OUTPUT" fi