Skip to content

Commit 12b141e

Browse files
committed
chore: update GitHub Actions workflow to conditionally install frontend dependencies based on OS
1 parent 6fcaaf1 commit 12b141e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ jobs:
6666
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
6767
6868
- name: install frontend dependencies
69+
if: runner.os == 'macOS'
70+
run: |
71+
bun pm add -D node-gyp nan
72+
npm_config_build_from_source=false bun install
73+
- name: install frontend dependencies (non-mac)
74+
if: runner.os != 'macOS'
6975
run: bun install
7076

7177
- name: Export TS bindings (needed before bun build)

0 commit comments

Comments
 (0)