Skip to content

Commit

Permalink
Add GitHub Action to check Avram schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtich committed Jan 20, 2024
1 parent 8d07856 commit 3909279
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/avram.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Validate Avram Schemas

on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install -g [email protected] # checking Avram 0.9.6
- run: |
avram -s src/main/resources/unimarc/avram-unimarc.json
avram -s src/test/resources/unimarc/avram-unimarc.json
avram -s src/main/resources/pica/avram-k10plus-title.json

0 comments on commit 3909279

Please sign in to comment.