diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e0f2d4fcb17b..5c5939c34d4c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: check-latest: true - run: | - echo "value=--experimental-require-module --require $PWD/patchProcessGetBuiltin.cjs" >> "$GITHUB_OUTPUT" + echo "value=$NODE_OPTIONS --experimental-require-module --require $PWD/patchProcessGetBuiltin.cjs" >> "$GITHUB_OUTPUT" name: Enable require(ESM) and process.getBuiltin polyfill id: node-options @@ -149,7 +149,7 @@ jobs: check-latest: true - run: | - echo "value=--experimental-require-module --require $PWD/patchProcessGetBuiltin.cjs" >> "$GITHUB_OUTPUT" + echo "value=$NODE_OPTIONS --experimental-require-module --require $PWD/patchProcessGetBuiltin.cjs" >> "$GITHUB_OUTPUT" name: Enable require(ESM) and process.getBuiltin polyfill id: node-options @@ -261,7 +261,7 @@ jobs: check-latest: true - run: | - echo "value=--experimental-require-module --require $PWD/patchProcessGetBuiltin.cjs" >> "$GITHUB_OUTPUT" + echo "value=$NODE_OPTIONS --experimental-require-module --require $PWD/patchProcessGetBuiltin.cjs" >> "$GITHUB_OUTPUT" name: Enable require(ESM) and process.getBuiltin polyfill id: node-options @@ -293,7 +293,7 @@ jobs: check-latest: true - run: | - echo "value=--experimental-require-module --require $PWD/patchProcessGetBuiltin.cjs" >> "$GITHUB_OUTPUT" + echo "value=$NODE_OPTIONS --experimental-require-module --require $PWD/patchProcessGetBuiltin.cjs" >> "$GITHUB_OUTPUT" name: Enable require(ESM) and process.getBuiltin polyfill id: node-options