[KAN-2] UI Redesign #111
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 Pipeline | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
profile: minimal | |
- name: Run Clippy in src-tauri | |
working-directory: src-tauri | |
run: cargo clippy --all-targets -- -D warnings | |
- name: Run Cargo fmt in src-tauri | |
working-directory: src-tauri | |
run: cargo fmt -- --check | |
- name: Run Cargo test in src-tauri | |
working-directory: src-tauri | |
run: cargo test | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Install Prettier | |
run: npm install --global prettier | |
- name: Run Prettier check | |
run: prettier --check "**/*.{js,jsx,ts,tsx,html,css,json,md}" |