We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1516959 commit 89bd108Copy full SHA for 89bd108
.github/workflows/generate.yml
@@ -22,9 +22,23 @@ jobs:
22
- name: Install npm dependencies
23
run: npm ci
24
- name: Generate parser
25
- run: npx tree-sitter generate
+ run: |
26
+ npx tree-sitter generate
27
+ npx tree-sitter build-wasm
28
- name: Update parser files
29
uses: stefanzweifel/git-auto-commit-action@v4
30
with:
31
commit_message: Generate parser
32
file_pattern: src
33
+ - name: Checkout gh-pages branch to ./gh-pages
34
+ uses: actions/checkout@v2
35
+ with:
36
+ ref: gh-pages
37
+ path: ./gh-pages
38
+ - run: mv *.wasm ./gh-pages
39
+ - name: Update WASM file on gh-pages branch
40
+ uses: stefanzweifel/git-auto-commit-action@v4
41
42
+ commit_message: Generate WASM
43
+ file_pattern: "*.wasm"
44
+ repository: ./gh-pages
0 commit comments