~ahelwer/tree-sitter-tlaplus

cc729734614a495c95910cc5320d4821c0e7c611 — Markus Alexander Kuppe 2 months ago 439dad0
Binary incompatibilities because of emscripten 2.x (#106)

* Create npm tarball as part of CI run.
* Bump emscripten to fix ABI incompatibilities:
2 files changed, 15 insertions(+), 1 deletions(-)

M .github/workflows/ci.yml
M .github/workflows/release.yml
M .github/workflows/ci.yml => .github/workflows/ci.yml +14 -0
@@ 80,3 80,17 @@ jobs:
        run: |
          diff_count=$(git status --porcelain=v1 2>/dev/null | wc -l)
          exit $diff_count
      - name: Install Emscripten
        uses: mymindstorm/setup-emsdk@v14
        with:
          version: 3.1.6
      - name: Generate parser WASM
        run: npx tree-sitter build-wasm
      - name: Publish
        run: npm pack
      - name: Upload npm tarball.
        uses: actions/upload-artifact@v4
        with:
          name: tlaplus-tree-sitter-tlaplus-${{matrix.os}}.tgz
          path: '*.tgz'
          if-no-files-found: error
\ No newline at end of file

M .github/workflows/release.yml => .github/workflows/release.yml +1 -1
@@ 18,7 18,7 @@ jobs:
      - name: Install Emscripten
        uses: mymindstorm/setup-emsdk@v14
        with:
          version: 2.0.16
          version: 3.1.6
      - name: Generate parser WASM
        run: npx tree-sitter build-wasm
      - name: Publish