Skip to content

Commit db41042

Browse files
ochafikclaude
andcommitted
ci: simplify WSL build - let setup-bun.mjs handle bun installation
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent aebc13b commit db41042

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,21 +97,16 @@ jobs:
9797
with:
9898
distribution: Ubuntu-24.04
9999

100-
- name: Install Node.js and Bun in WSL
100+
- name: Install Node.js in WSL
101101
shell: wsl-bash {0}
102102
run: |
103103
sudo apt-get update
104104
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
105-
sudo apt-get install -y nodejs unzip
106-
curl -fsSL https://bun.sh/install | bash
107-
echo 'export BUN_INSTALL="$HOME/.bun"' >> ~/.bashrc
108-
echo 'export PATH="$BUN_INSTALL/bin:$PATH"' >> ~/.bashrc
105+
sudo apt-get install -y nodejs
109106
110107
- name: Build and test in WSL
111108
shell: wsl-bash {0}
112109
run: |
113-
export BUN_INSTALL="$HOME/.bun"
114-
export PATH="$BUN_INSTALL/bin:$PATH"
115110
npm install
116111
npm run build
117112
npm run examples:build

0 commit comments

Comments
 (0)