Skip to content

Commit a7c1d22

Browse files
committed
CI: Fix JavaScript builds
1 parent d355931 commit a7c1d22

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/javascript.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,19 @@ jobs:
6262
cache: 'npm'
6363
cache-dependency-path: '**/package-lock.json'
6464

65-
- name: Generate runtime grammar
65+
- name: Set up project
6666
run: |
6767
cd ..
6868
pip install --requirement requirements.txt
69+
# TODO: Remove again after upstream patch was merged and released.
70+
# https://github.com/crate/cratedb-sqlparse/issues/170
71+
# https://github.com/antlr/antlr4-tools/issues/22
72+
# https://github.com/antlr/antlr4-tools/pull/23
73+
uv pip install --upgrade 'antlr4-tools @ git+https://github.com/crate-workbench/antlr4-tools@search.maven.org'
74+
75+
- name: Generate runtime grammar
76+
run: |
77+
cd ..
6978
python setup_grammar.py javascript
7079
7180
- name: Set up project

0 commit comments

Comments
 (0)