SPS processing #216
Workflow file for this run
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: test | |
on: | |
push: | |
pull_request: | |
branches: [main] | |
jobs: | |
check-frontend: | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v3 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
- name: install app dependencies and check frontend | |
run: yarn && yarn lint:check && yarn format:check | |
test-build: | |
needs: check-frontend | |
if: ${{ github.ref == 'refs/heads/main' }} | |
strategy: | |
fail-fast: false | |
runs-on: [windows-latest] | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v3 | |
- name: install Rust stable | |
uses: dtolnay/rust-toolchain@stable | |
- name: Rust cache | |
uses: swatinem/rust-cache@v2 | |
with: | |
workspaces: "./src-tauri -> target" | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
- name: install app dependencies | |
run: yarn | |
- name: test build | |
uses: tauri-apps/tauri-action@v0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
args: "-b msi" |