Spaces:
Sleeping
Sleeping
Anne Lefebvre
commited on
Commit
·
e85b0d6
1
Parent(s):
2ac9fb1
Only runs when changes are made to server/client
Browse files
.github/workflows/node.js.yml
CHANGED
|
@@ -6,9 +6,15 @@ name: Node Server
|
|
| 6 |
on:
|
| 7 |
push:
|
| 8 |
branches: [ "main" ]
|
|
|
|
|
|
|
|
|
|
| 9 |
pull_request:
|
| 10 |
branches: [ "main" ]
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
| 12 |
jobs:
|
| 13 |
build:
|
| 14 |
runs-on: ubuntu-latest
|
|
|
|
| 6 |
on:
|
| 7 |
push:
|
| 8 |
branches: [ "main" ]
|
| 9 |
+
paths:
|
| 10 |
+
- 'server/**'
|
| 11 |
+
- 'client/**'
|
| 12 |
pull_request:
|
| 13 |
branches: [ "main" ]
|
| 14 |
+
paths:
|
| 15 |
+
- 'server/**'
|
| 16 |
+
- 'client/**'
|
| 17 |
+
|
| 18 |
jobs:
|
| 19 |
build:
|
| 20 |
runs-on: ubuntu-latest
|