Skip to content

reacfactor to sue bun #19

reacfactor to sue bun

reacfactor to sue bun #19

Workflow file for this run

name: "test-on-pr"
on: [pull_request]
jobs:
test-tauri:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-22.04, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
# - 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
# intall js deps
- uses: oven-sh/setup-bun@v2
run: bun install
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}