-
-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve consistency on city names and adding a validator (#1118)
* Improve consistency on city names and adding a validator * Update page/src/misc/geolocations.json * Improving the validation and fixing the existing problems --------- Co-authored-by: Aurelie Vache <[email protected]>
- Loading branch information
Showing
14 changed files
with
294 additions
and
539 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: CheckGeolocationsDuplications | ||
on: pull_request | ||
|
||
jobs: | ||
GeolocationsDuplicationsValidator: | ||
name: GeolocationsDuplicationsValidator | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
cache: npm | ||
cache-dependency-path: '**/package-lock.json' | ||
- working-directory: page | ||
run: npm install -D | ||
- name: Validate Geolocations duplication | ||
working-directory: tools | ||
run: | | ||
npm install -D | ||
node mdParser.js | ||
node geoCodes.js | ||
node validateGeolocations.js |
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
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
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
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
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
Oops, something went wrong.