Skip to content

Commit

Permalink
Fix install for experimental NAPI releases on node 20.12
Browse files Browse the repository at this point in the history
See: nodejs/node#52229 (comment)

Change-type: patch
  • Loading branch information
otaviojacobi committed Apr 8, 2024
1 parent 71345a8 commit 1db5991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/test/action.yml
Expand Up @@ -45,9 +45,9 @@ runs:
[[ '${{ inputs.VERBOSE }}' =~ on|On|Yes|yes|true|True ]] && set -x
if [[ -e package-lock.json ]] || [[ -e npm-shrinkwrap.json ]]; then
npm ci
CXXFLAGS='-DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT' npm ci
else
npm i
CXXFLAGS='-DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT' npm i
fi
npm run build
Expand Down

0 comments on commit 1db5991

Please sign in to comment.