chore(deps-dev): bump braces from 3.0.2 to 3.0.3 #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
tauri-build: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- name: install Rust stable | |
uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: | | |
src-tauri -> src-tauri/target | |
- name: install dependencies (ubuntu only) | |
if: matrix.platform == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y webkit2gtk-4.1 libayatana-appindicator3-dev | |
- name: install frontend dependencies | |
run: pnpm install # change this to npm or pnpm depending on which one you use | |
- name: build application | |
run: pnpm build -d | |
build-darwin-aarch64: | |
strategy: | |
fail-fast: false | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- name: install Rust stable | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: aarch64-apple-darwin | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: | | |
src-tauri -> src-tauri/target | |
- name: install frontend dependencies | |
run: pnpm install # change this to npm or pnpm depending on which one you use | |
- name: build application | |
run: pnpm build -d --target aarch64-apple-darwin | |