Skip to content

Commit 2fdaec7

Browse files
committed
Modifies the CI to ensure the TextMate file is kept up to date
1 parent e76ff9e commit 2fdaec7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525
- uses: ./.github/actions/setup-and-build
26+
- name: Check the TextMate grammar is up to date
27+
run: |
28+
(git diff-index --name-status HEAD | grep "cypher.json" && (echo "Run pnpm build and commit an up to date cypher.json file please" && exit 1) || echo "\n\nTextMate grammar is up to date"
2629
2730
lint-and-format:
2831
name: Run eslint and check formatting

0 commit comments

Comments
 (0)