Change noBreakDelimiters from string[] to {start, end}[] to support a… #60
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: LSP | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [master] | |
| paths: | |
| - lsp/** | |
| - tree-sitter-htmlmustache.wasm | |
| - grammar.js | |
| - src/** | |
| - eslint.config.mjs | |
| pull_request: | |
| paths: | |
| - lsp/** | |
| - tree-sitter-htmlmustache.wasm | |
| - grammar.js | |
| - src/** | |
| - eslint.config.mjs | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| cache: pnpm | |
| node-version: ${{ vars.NODE_VERSION }} | |
| - name: Set up tree-sitter | |
| uses: tree-sitter/setup-action/cli@v2 | |
| - name: Build WASM | |
| run: tree-sitter build --wasm | |
| - name: Install root dependencies | |
| run: pnpm install | |
| - name: Install LSP dependencies | |
| run: pnpm install | |
| working-directory: lsp | |
| - name: Build LSP | |
| run: pnpm run build | |
| working-directory: lsp | |
| - name: Run server tests | |
| run: pnpm run test | |
| working-directory: lsp | |
| - name: Lint | |
| run: pnpm run lint | |
| working-directory: lsp |