Skip to content

Commit

Permalink
chore(github-workflow): run the tests only when the tests belong to t…
Browse files Browse the repository at this point in the history
…he changed folder
  • Loading branch information
MitanOmar committed May 23, 2024
1 parent 8226023 commit cef46e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ name: Backend CI
on:
push:
branches: [main]
paths:
- 'backend/**'
pull_request:
paths:
- 'backend/**'


jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ name: Frontend CI
on:
push:
branches: [main]
paths:
- 'frontend/**'
pull_request:
paths:
- 'frontend/**'

env:
NODE_VERSION: 18
Expand Down

0 comments on commit cef46e2

Please sign in to comment.