Skip to content

Commit 6bc16f2

Browse files
committed
Add process that lints a pull request.
1 parent 7b2c7a5 commit 6bc16f2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Lint pull request
2+
on:
3+
pull_request:
4+
paths:
5+
- 'tables/**.yml'
6+
jobs:
7+
# Build the registry
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout source code
12+
uses: actions/checkout@v4
13+
- name: Setup Node.js v22
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version: 22.x
17+
- name: Install registry tooling
18+
run: npm i
19+
- name: Generate registry index
20+
run:
21+
npm run build
22+
test -e tables/index.json

0 commit comments

Comments
 (0)