Skip to content

Commit

Permalink
test: test against cluster versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jo committed Feb 27, 2021
1 parent 808fc8f commit d98dd1c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,28 @@ name: Node.js CI
on: [pull_request]

jobs:
cluster:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8.x, 10.x, 12.x, 14.x, 15.x]
couchdb-version: [2, 3]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Set up CouchDB
uses: iamssen/couchdb-github-action@master
with:
couchdb-version: ${{ matrix.couchdb-version }}
- run: npm ci
- run: COUCH=http://admin:[email protected]:5984 npm test


single-node:
runs-on: ubuntu-latest

Expand Down

0 comments on commit d98dd1c

Please sign in to comment.