Skip to content

⬆️ Bump @tauri-apps/cli from 1.6.2 to 2.0.4 #672

⬆️ Bump @tauri-apps/cli from 1.6.2 to 2.0.4

⬆️ Bump @tauri-apps/cli from 1.6.2 to 2.0.4 #672

Workflow file for this run

name: test
on:
pull_request:
push:
branches:
- main
jobs:
test-tauri:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- 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: startsWith(matrix.platform, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: install app dependencies and build it
run: npm i && npm run build
- uses: tauri-apps/tauri-action@v0
with:
tauriScript: 'npm run tauri'
args: "--config src-tauri/test.override.conf.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}