diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 1fd57d2b973e6..7960eef6c2dba 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -51,6 +51,11 @@ jobs: run: | npm i -g corepack@0.31 corepack enable + - name: Check tmp + run: | + echo ${{ runner.temp }} + node -e "const os = require('os'); console.log(os.tmpdir())" + node -e "console.log(process.env)" - name: Determine deploy target # 'force-preview' performs a full preview build but only if acknowledged i.e. workflow_dispatch # 'automated-preview' for pushes on branches other than 'canary' for integration testing. diff --git a/.github/workflows/build_reusable.yml b/.github/workflows/build_reusable.yml index b1c8822c19cd1..6a7e8204a2e6a 100644 --- a/.github/workflows/build_reusable.yml +++ b/.github/workflows/build_reusable.yml @@ -276,6 +276,10 @@ jobs: # We must use a login shell: fnm installation may modify the `.profile` shell: bash -le {0} timeout-minutes: ${{ inputs.timeout_minutes }} + env: + # Used by Node.js in os.tmpdir() + # TODO: Make sure our own runners set TEMP to a temp directory that is cleaned up between runs + TEMP: ${{ runner.temp }} # This file messes up the tests because it influences the build root autodetection. - name: Clean up stray files