Skip to content

CI

CI #41

Workflow file for this run

name: CI
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
export-annotations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- run: npm ci
- run: npm run export
env:
PROJECT_ID: ${{ vars.PROJECT_ID }}
INCEPTION_URL: ${{ vars.INCEPTION_URL }}
AUTH: ${{ secrets.AUTH }}
- uses: actions/upload-artifact@v4
with:
name: resources
path: resources
- run: npm run validate > report.nq
id: validate
- uses: actions/setup-python@v5
with:
python-version: '3'
- run: pip install rdflib
if: failure()
- run: rdfpipe -i nquads -o trig report.nq > report.trig
if: failure()
- uses: actions/upload-artifact@v4
if: failure()
with:
name: report
path: report.trig