Open joergreichert opened 3 years ago
Please note that the validation script in the Wo ist Markt? project has been improved lately. You might want to pick the relevant code changes.
Synced with https://github.com/wo-ist-markt/wo-ist-markt.github.io
Still validation issues for Berlin and Hessen
ouput.txt
Did you run npm test
on the project? There is a bunch of lint warnings which might cause other errors.
I think the project should have automatic CI checks as it is running for the Wo ist Markt? repository. What do you think about this?
I've fix the lint issues besides validation/testcenter-validator.js: line 600, col 19, 'URL' is not defined.
:+1: for automatic CI checks. So we need to integrate the netlify.toml and the rollup dependency for this, right?
I addressed the URL
issue in #23. With that you should be able to run the updated validation script.
For automatic checks Wo ist Markt? is using Travis CI. A minimal .travis.yml
configuration (copied from here) would be:
language: node_js
node_js: # Read version from .nvmrc
install:
- npm install
script:
- npm test
- npm build
You can of course use any other CI provider such as GitHub Actions.
Just discovered the validator today:
node ./validation/testcenter-validator.js
For Berlin and Hessen there are still some issues (already fixed the issues for Leipzig and Duesseldorf) validation_issues.txt