Skip to content

Commit

Permalink
reacfactor to sue bun
Browse files Browse the repository at this point in the history
  • Loading branch information
zachcp committed Jul 10, 2024
1 parent 0b3160f commit 07865b9
Showing 1 changed file with 26 additions and 22 deletions.
48 changes: 26 additions & 22 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,36 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
# - name: setup node
# uses: actions/setup-node@v4
# with:
# node-version: 20

- name: install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
run: |
curl -fsSL https://bun.sh/install | bash
source /home/runner/.bashrc
bun install
- name: install dependencies (macos only)
if: matrix.platform == 'macos-latest'
run: |
brew install oven-sh/bun/bun
bun install
- name: install dependencies (windows only)
if: matrix.platform == 'windows-latest'
run: |
powershell -c "irm bun.sh/install.ps1|iex"
bun install
# - name: install dependencies (ubuntu only)
# if: matrix.platform == 'ubuntu-22.04'
# run: |
# curl -fsSL https://bun.sh/install | bash
# source /home/runner/.bashrc
# bun install

# - name: install dependencies (macos only)
# if: matrix.platform == 'macos-latest'
# run: |
# brew install oven-sh/bun/bun
# bun install

# - name: install dependencies (windows only)
# if: matrix.platform == 'windows-latest'
# run: |
# powershell -c "irm bun.sh/install.ps1|iex"
# bun install

# intall js deps
- uses: oven-sh/setup-bun@v2
run: bun install

- uses: tauri-apps/tauri-action@v0
env:
Expand Down

0 comments on commit 07865b9

Please # to comment.