Find region mapping alias duplicates #33
Workflow file for this run
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: Find region mapping alias duplicates | |
# Run when regionMapping.json file or is updated | |
on: | |
push: | |
paths: | |
- "wwwroot/data/regionMapping.json" | |
- "buildprocess/find-region-mapping-alias-duplicates.js" | |
pull_request: | |
paths: | |
- "wwwroot/data/regionMapping.json" | |
- "buildprocess/find-region-mapping-alias-duplicates.js" | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job | |
find-alias-duplicates: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Check out only 2 files | |
# Use without cone mode as no git operations are executed past checkout | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
wwwroot/data/regionMapping.json | |
buildprocess/find-region-mapping-alias-duplicates.js | |
sparse-checkout-cone-mode: false | |
- name: Check aliases | |
run: | | |
node buildprocess/find-region-mapping-alias-duplicates.js |