Skip to content

Merge pull request #190 from bullinger-digital/fix-pb-combo-box-items #344

Merge pull request #190 from bullinger-digital/fix-pb-combo-box-items

Merge pull request #190 from bullinger-digital/fix-pb-combo-box-items #344

Workflow file for this run

name: Release npm package
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- name: npm install and build
run:
npm ci
npm run build:production
- name: Build docker image
run: docker build -t exist-db -f Dockerfile .
- name: Start docker image
run: docker run --publish 8080:8080 --detach exist-db
- name: Wait for eXist
uses: iFaxity/wait-on-action@v1
with:
resource: http-get://localhost:8080/exist/apps/tei-publisher/api/version
- run: npm test
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}