Skip to content

Commit 75c2809

Browse files
authored
switch to isolated linker for bun (#6801)
1 parent e856fb0 commit 75c2809

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/actions/install/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ runs:
1919
if: inputs.cache == 'true' && steps.yarn-cache.outputs.cache-hit == 'true'
2020
# Retry in case of server error from registry.
2121
# Wait 60 seconds to give the registry server time to heal.
22-
- run: bun install --linker=hoisted --trust || sleep 60 && bun install --linker=hoisted --trust
22+
- run: bun install --trust || sleep 60 && bun install --trust
2323
shell: bash
2424
env:
2525
_DD_IGNORE_ENGINES: 'true'

.github/actions/node/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ runs:
2121
registry-url: ${{ inputs.registry-url || 'https://registry.npmjs.org' }}
2222
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2
2323
with:
24-
bun-version: "1.2.23"
24+
bun-version: "1.3.1"

.github/workflows/platform.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,8 @@ jobs:
413413
with:
414414
version: ${{ matrix.version }}
415415
- uses: ./.github/actions/install
416-
- run: bun add --linker=hoisted --ignore-scripts mocha@10 # Use older mocha to support old Node.js versions
417-
- run: bun add --linker=hoisted --ignore-scripts express@4 # Use older express to support old Node.js versions
416+
- run: bun add --ignore-scripts mocha@10 # Use older mocha to support old Node.js versions
417+
- run: bun add --ignore-scripts express@4 # Use older express to support old Node.js versions
418418
- run: node node_modules/.bin/mocha --colors --timeout 30000 integration-tests/init.spec.js
419419
- uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0
420420
if: always()

integration-tests/helpers/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ async function createSandbox (
279279

280280
await fs.mkdir(folder, { recursive: true })
281281
const addOptions = { cwd: folder, env: restOfEnv }
282-
const addFlags = ['--linker=hoisted', '--trust']
282+
const addFlags = ['--trust']
283283
if (!existsSync(out)) {
284284
execHelper(`${BUN} pm pack --quiet --gzip-level 0 --filename ${out}`, { env: restOfEnv })
285285
}

0 commit comments

Comments
 (0)