Skip to content

Commit 39e0d4a

Browse files
committed
chore: fix bun install on ci
1 parent b43576e commit 39e0d4a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.nx/workflows/agents.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,17 @@ launch-templates:
4545
sudo apt-get update -y
4646
sudo apt-get -yqq install zip unzip
4747
48-
# TODO: Remove this once the PR to set it on agents by default is merged
49-
- name: Set SHELL environment variable
50-
script: |
51-
# We need $SHELL to be set for the bun installation to correctly link `bunx`
52-
echo "SHELL=/usr/bin/bash" >> $NX_CLOUD_ENV
53-
5448
- name: Install bun
5549
script: |
5650
curl -fsSL https://bun.sh/install | bash
5751
echo "BUN_INSTALL=$HOME/.bun" >> $NX_CLOUD_ENV
5852
echo "PATH=$HOME/.bun/bin:$PATH" >> $NX_CLOUD_ENV
5953
54+
- name: Check bun
55+
script: |
56+
bun --version
57+
echo "bunx=`which bunx`"
58+
6059
- name: Install Node Modules (with Bun)
6160
script: bun install --frozen-lockfile --ignore-scripts
6261

0 commit comments

Comments
 (0)