Skip to content

Commit fba5c2b

Browse files
committed
Add ci to make sure codegenned files.json is committed up to date
1 parent b5b7f4d commit fba5c2b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Check Generated Files
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
check-files-json:
11+
name: Check files.json
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Regenerate files.json
18+
working-directory: typescript-sdk/apps/dojo
19+
run: npm run generate-content-json
20+
21+
- name: Check files.json
22+
working-directory: typescript-sdk/apps/dojo
23+
run: git diff --exit-code files.json
24+
25+

0 commit comments

Comments
 (0)