Skip to content

Commit b606a66

Browse files
committed
Add workflow to check schema.json is up-to-date
1 parent c7329cc commit b606a66

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Test
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v2
14+
with:
15+
node-version: 16
16+
- run: npm ci
17+
- run: npm run build
18+
- name: Check schema.json is up-to-date
19+
run: git diff --exit-code

0 commit comments

Comments
 (0)