-
Notifications
You must be signed in to change notification settings - Fork 174
55 lines (53 loc) · 1.37 KB
/
check.yml
File metadata and controls
55 lines (53 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Data check
on:
pull_request:
branches: [master]
jobs:
check-dat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install deps
shell: sh
working-directory: ./scripts
run: yarn
- name: Check VATSpy.dat
shell: sh
working-directory: ./scripts
run: yarn validate-dat
check-geojson:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install deps
shell: sh
working-directory: ./scripts
run: yarn
- name: Check Boundaries.geojson
shell: sh
working-directory: ./scripts
run: yarn validate-schema
validate-contributor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install deps
shell: sh
working-directory: ./scripts
run: yarn
- name: Check Boundaries.geojson
shell: sh
working-directory: ./scripts
run: yarn check-contributor --login="${{ github.event.pull_request.user.login }}" --failWhenMissing