Trying to revert nodejs from test workflow.
@@ -13,6 +13,13 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
+
+ # Revert the NodeJS version in order to use the system one instead (needed due to libnode)
+ - name: Delete latest version of NodeJS
+ run: |
+ n rm current
+ n uninstall
+
- name: Set up the environment
run: sudo ./tools/metacall-environment.sh $METACALL_INSTALL_OPTIONS
env:
@@ -23,8 +30,8 @@ jobs:
NUGET_XMLDOC_MODE: skip
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
METACALL_INSTALL_OPTIONS: root base python ruby netcore5 nodejs typescript file rpc wasm java c cobol rapidjson funchook swig pack # clangformat v8rep51 coverage
+
- name: Run the configuration script
- # Reverting the NodeJS version to the system one by means of 'nvm use system'
run: |
export "METACALL_PATH=$(pwd)"
export "LOADER_LIBRARY_PATH=$METACALL_PATH/build"
@@ -33,7 +40,6 @@ jobs:
export "SERIAL_LIBRARY_PATH=$METACALL_PATH/build"
export "DETOUR_LIBRARY_PATH=$METACALL_PATH/build"
export "PORT_LIBRARY_PATH=$METACALL_PATH/build"
- nvm use system
mkdir -p build
cd "$METACALL_PATH/build"
sudo "$METACALL_PATH/tools/metacall-configure.sh" $METACALL_BUILD_OPTIONS
