-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (33 loc) · 1.33 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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: Arabic Language (Aggregation)
run: npm run prebuild -- --path=./config/.fixtures/canopy.arabic.json
- name: Arabic Language (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