From 8dc2b5d73b2ca6e2794316021199847a5ce38be3 Mon Sep 17 00:00:00 2001 From: Ryan Liang Date: Thu, 11 Jan 2024 14:37:46 -0800 Subject: [PATCH] change the linting running dir Signed-off-by: Ryan Liang --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 42ddda4..3d08f5c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -71,7 +71,7 @@ jobs: while IFS= read -r file; do if [[ $file == *.js || $file == *.ts || $file == *.tsx ]]; then echo "linting file $file" - yarn lint "$file" + yarn lint "../$file" fi done < /tmp/changed_files.txt else