Skip to content

Commit

Permalink
Merge pull request #57 from jo/chore/switch-to-gh-actions
Browse files Browse the repository at this point in the history
chore: switch to gh actions for ci
  • Loading branch information
jo authored Feb 27, 2021
2 parents 68c0230 + 38f42a4 commit 2ff8c62
Show file tree
Hide file tree
Showing 6 changed files with 30,376 additions and 4,063 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Node.js CI

on: [pull_request]

jobs:
single-node:
runs-on: ubuntu-latest

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

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: cobot/couchdb-action@v4
with:
couchdb version: ${{ matrix.couchdb-version }}
- run: npm ci
- run: npm test
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# CouchDB Bootstrap
Bootstrap CouchDB server from CLI or API.

[![Build Status](https://travis-ci.org/jo/couchdb-bootstrap.svg?branch=master)](https://travis-ci.org/jo/couchdb-bootstrap)


* set and override `/_config`
* create databases (unless existent)
* create and update database \_security objects
Expand Down
Loading

0 comments on commit 2ff8c62

Please sign in to comment.