fix: don't use esbuild in order to create 3rdpartylicenses #591
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: 🏗 Build application | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
web: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [ 14, 16 ] | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v3 | |
- name: Setup node 🔧 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies 📦 | |
run: npm ci | |
- name: Build app for web 🏗 | |
run: npm run build | |
tauri: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v3 | |
- name: Setup node 🔧 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install Rust stable 🦀 | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: install dependencies (ubuntu only) 🐧 | |
if: matrix.platform == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf | |
- name: Install dependencies 📦 | |
run: npm ci | |
- name: Build app for ${{ matrix.platform }} 🏗 | |
uses: tauri-apps/tauri-action@v0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |