File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed
Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change 2121 name : Linux ARM64
2222 - os : windows-latest
2323 name : Windows x64
24- - os : windows-11-arm
25- name : Windows ARM64
24+ # Windows ARM64 disabled: Bun doesn't support this platform yet
25+ # - os: windows-11-arm
26+ # name: Windows ARM64
2627 - os : macos-latest
2728 name : macOS ARM64
2829
3637 shell : bash
3738 run : ' ! grep -E "\"resolved\": \"https?://" package-lock.json | grep -v registry.npmjs.org'
3839
40+ - uses : oven-sh/setup-bun@v2
41+ with :
42+ bun-version : latest
43+
3944 - uses : actions/setup-node@v4
4045 with :
4146 node-version : " 20"
@@ -97,16 +102,21 @@ jobs:
97102 with :
98103 distribution : Ubuntu-24.04
99104
100- - name : Install Node.js in WSL
105+ - name : Install Node.js and Bun in WSL
101106 shell : wsl-bash {0}
102107 run : |
103108 sudo apt-get update
104109 curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
105- sudo apt-get install -y nodejs
110+ sudo apt-get install -y nodejs unzip
111+ curl -fsSL https://bun.sh/install | bash
112+ echo 'export BUN_INSTALL="$HOME/.bun"' >> ~/.bashrc
113+ echo 'export PATH="$BUN_INSTALL/bin:$PATH"' >> ~/.bashrc
106114
107115 - name : Build and test in WSL
108116 shell : wsl-bash {0}
109117 run : |
118+ export BUN_INSTALL="$HOME/.bun"
119+ export PATH="$BUN_INSTALL/bin:$PATH"
110120 npm install
111121 npm run build
112122 npm run examples:build
@@ -125,15 +135,20 @@ jobs:
125135 name : Linux ARM64
126136 - os : windows-latest
127137 name : Windows x64
128- - os : windows-11-arm
129- name : Windows ARM64
138+ # Windows ARM64 disabled: Bun doesn't support this platform yet
139+ # - os: windows-11-arm
140+ # name: Windows ARM64
130141 - os : macos-latest
131142 name : macOS ARM64
132143
133144 name : Test git install (${{ matrix.name }})
134145 runs-on : ${{ matrix.os }}
135146
136147 steps :
148+ - uses : oven-sh/setup-bun@v2
149+ with :
150+ bun-version : latest
151+
137152 - uses : actions/setup-node@v4
138153 with :
139154 node-version : " 20"
You can’t perform that action at this time.
0 commit comments