Skip to content

Commit

Permalink
CI: Workaround node-gyp issue (#439)
Browse files Browse the repository at this point in the history
* Fix compilation

Amends commit 7f70d25.

* CI: Workaround node-gyp issue

nodejs/node-gyp#2869
  • Loading branch information
orgads authored Jan 16, 2024
1 parent 7a9137c commit c96a618
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
os: [ ubuntu-latest, macos-latest, windows-latest ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# https://github.com/nodejs/node-gyp/issues/2869
- run: python3 -m pip install setuptools
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -40,7 +42,7 @@ jobs:
strategy:
matrix:
node-version: [ 16, 18, 20 ]
container: node:${{ matrix.node-version }}-alpine3.18
container: node:${{ matrix.node-version }}-alpine
steps:
- uses: actions/checkout@v3
- name: install build deps
Expand Down
2 changes: 1 addition & 1 deletion src/isolate/inspector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ auto InspectorAgent::ConnectSession(InspectorSession& session) -> unique_ptr<V8I
active_sessions.write()->insert(&session);
#if V8_AT_LEAST(10, 3, 118)
return inspector->connect(1, &session, StringView(), v8_inspector::V8Inspector::ClientTrustLevel::kFullyTrusted);
#elif
#else
return inspector->connect(1, &session, StringView());
#endif
}
Expand Down

0 comments on commit c96a618

Please sign in to comment.