Skip to content

fix(README): updated broken OpenAPI 3.0 spec URL #138

fix(README): updated broken OpenAPI 3.0 spec URL

fix(README): updated broken OpenAPI 3.0 spec URL #138

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Test and Release
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: true
matrix:
exist-version: [release, 6.0.1, 5.5.1]
experimental: [false]
# latest might contain breaking changes
include:
- exist-version: latest
experimental: true
services:
exist:
image: existdb/existdb:${{ matrix.exist-version }}
ports:
- 8443:8443
volumes:
# point autodeploy to a folder without any XARs
- ${{ github.workspace }}/doc:/exist/autodeploy
options: >-
--health-interval 4s
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
release:
name: Release
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release