Point at dev. #2
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: Test IIIF Collection Build | |
on: push | |
jobs: | |
test-build: | |
runs-on: ubuntu-latest | |
# Only run if the repository is canopy-iiif/canopy-iiif | |
if: github.repository == 'canopy-iiif/canopy-iiif' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm install | |
- name: Unit testing | |
run: npm run test:ci | |
- name: 2.x Collection (Aggregation) | |
run: npm run prebuild -- --path=./config/.fixtures/canopy.presentation-2.json | |
- name: 2.x Collection (Build) | |
run: npm run test-build | |
- name: 3.0 Collection (Aggregation) | |
run: npm run prebuild -- --path=./config/.fixtures/canopy.presentation-3.json | |
- name: 3.0 Collection (Build) | |
run: npm run test-build | |
- name: Customize Search (Aggregation) | |
run: npm run prebuild -- --path=./config/.fixtures/canopy.customize-search.json | |
- name: Customize Search (Build) | |
run: npm run test-build | |
- name: Minimal Configuration (Aggregation) | |
run: npm run prebuild -- --path=./config/.fixtures/canopy.minimal.json | |
- name: Minimal Configuration (Build) | |
run: npm run test-build |