Skip to content

Path parameter encoding #133

Path parameter encoding

Path parameter encoding #133

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
strategy:
matrix:
exist-version: [latest, release, 5.5.1]
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