feat(pb-facsimile): added option to add download icon to trigger down… #308
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tei-publisher-components CI | |
on: | |
pull_request: | |
branches: [ master, develop ] | |
push: | |
branches: | |
- develop | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
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/index.html | |
- name: npm test | |
run: npm test |