Skip to content

Commit 2ff8c62

Browse files
authored
Merge pull request #57 from jo/chore/switch-to-gh-actions
chore: switch to gh actions for ci
2 parents 68c0230 + 38f42a4 commit 2ff8c62

File tree

6 files changed

+30376
-4063
lines changed

6 files changed

+30376
-4063
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
release:
8+
name: Release
9+
runs-on: ubuntu-18.04
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: 12
19+
- name: Install dependencies
20+
run: npm ci
21+
- name: Release
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
25+
run: npx semantic-release

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Node.js CI
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
single-node:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version: [8.x, 10.x, 12.x, 14.x, 15.x]
12+
couchdb-version: [1.7]
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: Set up CouchDB
21+
uses: cobot/couchdb-action@v4
22+
with:
23+
couchdb version: ${{ matrix.couchdb-version }}
24+
- run: npm ci
25+
- run: npm test

.travis.yml

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

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# CouchDB Bootstrap
22
Bootstrap CouchDB server from CLI or API.
33

4-
[![Build Status](https://travis-ci.org/jo/couchdb-bootstrap.svg?branch=master)](https://travis-ci.org/jo/couchdb-bootstrap)
5-
6-
74
* set and override `/_config`
85
* create databases (unless existent)
96
* create and update database \_security objects

0 commit comments

Comments
 (0)