Update validation.yml

This commit is contained in:
William Harrison
2025-01-02 19:04:43 +08:00
parent 7b6c8d8580
commit 2ca826b7ab
+3 -1
View File
@@ -41,7 +41,9 @@ jobs:
- name: Get modified files
if: github.event_name == 'pull_request'
id: files
run: echo "changed_files=$(git diff --name-only -r HEAD^1 HEAD | xargs)" >> $GITHUB_OUTPUT
run: |
echo "changed_files=$(git diff --name-only -r HEAD^1 HEAD | xargs)" >> $GITHUB_OUTPUT
echo $changed_files
- run: npm test
env: