Skip to content

Commit fe0f290

Browse files
alxndrsnjanl
authored andcommitted
ci: fix couchdb actions
1 parent c135c4c commit fe0f290

2 files changed

Lines changed: 16 additions & 22 deletions

File tree

.github/actions/install-couchdb/action.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ jobs:
7575
- TYPE=find PLUGINS=pouchdb-find ADAPTERS=http npm test
7676
- TYPE=mapreduce ADAPTERS=http npm test
7777
runs-on: ubuntu-latest
78+
services:
79+
couchdb:
80+
image: couchdb:${{ matrix.couchdb }}
81+
ports:
82+
- 5984:5984
83+
env:
84+
COUCHDB_USER: admin
85+
COUCHDB_PASSWORD: password
7886
env:
7987
CLIENT: node
8088
SERVER: couchdb-master
@@ -87,9 +95,6 @@ jobs:
8795
- uses: ./.github/actions/install-node-package
8896
with:
8997
node-version: ${{ matrix.node }}
90-
- uses: ./.github/actions/install-couchdb
91-
with:
92-
couchdb-version: ${{ matrix.couchdb }}
9398
- uses: ./.github/actions/build-pouchdb
9499
- id: test
95100
run: ${{ matrix.cmd }}
@@ -119,6 +124,14 @@ jobs:
119124
- TYPE=find PLUGINS=pouchdb-find ADAPTERS=http npm test
120125
- TYPE=mapreduce ADAPTERS=http npm test
121126
runs-on: ubuntu-latest
127+
services:
128+
couchdb:
129+
image: couchdb:${{ matrix.couchdb }}
130+
ports:
131+
- 5984:5984
132+
env:
133+
COUCHDB_USER: admin
134+
COUCHDB_PASSWORD: password
122135
env:
123136
USE_MINIFIED: 1
124137
CLIENT: ${{ matrix.client }}
@@ -133,9 +146,6 @@ jobs:
133146
with:
134147
node-version: ${{ env.NODE_VERSION }}
135148
- uses: ./.github/actions/install-playwright
136-
- uses: ./.github/actions/install-couchdb
137-
with:
138-
couchdb-version: ${{ matrix.couchdb }}
139149
- uses: ./.github/actions/build-pouchdb
140150
- id: test
141151
run: ${{ matrix.cmd }}

0 commit comments

Comments
 (0)