Skip to content

Commit 3d994c9

Browse files
authored
Fix deploy gh pages (#280)
1 parent 7265977 commit 3d994c9

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/gh-pages.yml

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

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

29+
# Instruct a C++ compiler to use the C++20 standard
30+
# 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+
2935
- name: Install dependencies
3036
run: npm ci
3137

0 commit comments

Comments
 (0)