CI #8
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: 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 -- --output resources/data-sheets.nq | |
env: | |
PROJECT_ID: ${{ vars.PROJECT_ID }} | |
INCEPTION_URL: ${{ vars.INCEPTION_URL }} | |
AUTH: ${{ secrets.AUTH }} | |
- run: npx talos print --base https://wikibus.org resources > resources.nq | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: resources | |
path: resources | |
- run: sudo apt-get update && sudo apt-get install -y raptor2-utils | |
- run: npm run validate | |
- run: rapper -i ntriples -o turtle report.nt > report.ttl | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: report | |
path: report.ttl |