Skip to content

Commit 0a56938

Browse files
committed
Adjust workflow for couchdb tests
1 parent 0ab453d commit 0a56938

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/couchdb.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
name: CouchDB Tests
2-
on: [push]
1+
name: CouchDB Tests (Optional)
2+
on:
3+
push:
4+
branches-ignore:
5+
- main
6+
paths:
7+
- 'packages/react-couchdb-authentication/**'
8+
pull_request:
9+
branches:
10+
- main
11+
paths:
12+
- 'packages/react-couchdb-authentication/**'
313

414
jobs:
515
test:
@@ -22,7 +32,7 @@ jobs:
2232
- name: Set up CouchDB
2333
uses: "cobot/couchdb-action@main"
2434
with:
25-
couchdb version: "3.5.0"
35+
couchdb-version: "3.5.0"
2636

2737
- name: Check CouchDB
2838
run: |

0 commit comments

Comments
 (0)