chore: Update test.yml to handle changes in client/apps/ directory #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- feat/portal-administration | |
jobs: | |
web-client-test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Changed Files | |
run: | | |
if git diff --no-index --name-only ${{ github.base_ref }}...${{ github.head_ref }} | grep -q "^client/apps/"; then | |
echo "Files in client/apps/ have changed" | |
else | |
echo "No files in client/apps/ have changed" | |
fi |