Skip to content

Commit 66146ce

Browse files
committed
Add API test to CI before and after fetching data
1 parent e239fc5 commit 66146ce

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/refresh-fire-truck-locations.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,11 @@ jobs:
7474
git push origin data
7575
else
7676
echo "No changes detected in data files"
77-
fi
77+
fi
78+
79+
- name: Verify data branch update with API test
80+
if: success()
81+
run: |
82+
# Switch back to code branch to run test
83+
git checkout code
84+
npm test

0 commit comments

Comments
 (0)