Skip to content

Commit

Permalink
fix(build-and-test-with-yarn): add eslint checks for v5
Browse files Browse the repository at this point in the history
This fixes an issue where ESLint v5 would not be run
  • Loading branch information
TheDome committed Dec 18, 2024
1 parent f5ae19b commit ed9444d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-and-test-with-yarn/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed9444d

Please sign in to comment.