From 69c07424a045b6943aaa364dea39f71f0d335b0d Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Sat, 25 Apr 2026 20:52:18 -0300 Subject: [PATCH 1/2] Fix deploy gh pages --- .github/workflows/gh-pages.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 20cda42..4029b50 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -19,13 +19,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version-file: .nvmrc + # Instruct a C++ compiler to use the C++20 standard + # See # https://github.com/tree-sitter/node-tree-sitter/issues/268 + - name: Set env var for C++ compiler + shell: bash + run: export CXXFLAGS="-std=c++20" + - name: Install dependencies run: npm ci From 1a388f979981607595889627c48d6d91c26d97d2 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Sat, 25 Apr 2026 20:57:20 -0300 Subject: [PATCH 2/2] update --- .github/workflows/gh-pages.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 4029b50..6d5e7fc 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -27,13 +27,10 @@ jobs: node-version-file: .nvmrc # Instruct a C++ compiler to use the C++20 standard + # Required to install tree-sitter dev dependencie # See # https://github.com/tree-sitter/node-tree-sitter/issues/268 - - name: Set env var for C++ compiler - shell: bash - run: export CXXFLAGS="-std=c++20" - - name: Install dependencies - run: npm ci + run: CXXFLAGS="-std=c++20" npm ci - name: Build WASM run: npx tree-sitter build --wasm