Add an end-to-end workflow for scheduled updates #53
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: NPM CI build | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
cache: 'pip' | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: pip install rdflib requests | |
- run: python3 osm_wikidata.py | |
- run: npm install | |
- run: npm run build | |
- run: git diff | |
- run: exit $(git diff --numstat | wc -l) | |