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 8f1f7bc commit d9f0b78Copy full SHA for d9f0b78
.github/workflows/generate.yml
@@ -0,0 +1,30 @@
1
+name: Generate
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+jobs:
7
+ main:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v2
11
+ - name: Install Node
12
+ uses: actions/setup-node@v2
13
+ with:
14
+ node-version: "14.x"
15
+ - name: Cache npm dependencies
16
+ uses: actions/cache@v2
17
18
+ path: ~/.npm
19
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
20
+ restore-keys: |
21
+ ${{ runner.os }}-node-
22
+ - name: Install npm dependencies
23
+ run: npm ci
24
+ - name: Generate parser
25
+ run: npx tree-sitter generate
26
+ - name: Update parser files
27
+ uses: stefanzweifel/git-auto-commit-action@v4
28
29
+ commit_message: Generate parser
30
+ file_pattern: src
0 commit comments