diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 4029b50..3790a20 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -19,21 +19,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@v4 with: 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