Skip to content

Fix: improve device detection for touch screen laptops with high-DPI displays #15

Fix: improve device detection for touch screen laptops with high-DPI displays

Fix: improve device detection for touch screen laptops with high-DPI displays #15

Workflow file for this run

name: 'test-on-pr'
on: [pull_request]
# This workflow will build the app without publishing
jobs:
test-tauri:
strategy:
fail-fast: false
matrix:
include:
- platform: 'macos-latest' # for Arm based macs (M1 and above).
args: '--target aarch64-apple-darwin'
rust_targets: 'aarch64-apple-darwin'
- platform: 'macos-latest' # for Intel based macs.
args: '--target x86_64-apple-darwin'
rust_targets: 'x86_64-apple-darwin'
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: install pnpm
run: npm install -g pnpm
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: add Rust targets
run: rustup target add ${{ matrix.rust_targets }}
- name: install frontend dependencies
run: cd apps/desktop && pnpm install
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
projectPath: apps/desktop
args: ${{ matrix.args }}