Skip to content

Commit 7dbc8a8

Browse files
authored
Fix build playground (#281)
1 parent 3d994c9 commit 7dbc8a8

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,18 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v6
22+
uses: actions/checkout@v4
2323

2424
- name: Setup Node.js
25-
uses: actions/setup-node@v6
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version-file: .nvmrc
2828

2929
# Instruct a C++ compiler to use the C++20 standard
30+
# Required to install tree-sitter dev dependencie
3031
# See # https://github.com/tree-sitter/node-tree-sitter/issues/268
31-
- name: Set env var for C++ compiler
32-
shell: bash
33-
run: export CXXFLAGS="-std=c++20"
34-
3532
- name: Install dependencies
36-
run: npm ci
33+
run: CXXFLAGS="-std=c++20" npm ci
3734

3835
- name: Build WASM
3936
run: npx tree-sitter build --wasm

0 commit comments

Comments
 (0)