diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index e2a21404b..865495e57 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -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