-
-
Notifications
You must be signed in to change notification settings - Fork 4
57 lines (46 loc) · 1.35 KB
/
ci-tauri.yml
File metadata and controls
57 lines (46 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: CI - Tauri
on:
pull_request:
branches: [main]
paths:
- 'apps/souls-studio/**'
- '.github/workflows/ci-tauri.yml'
push:
branches: [main]
paths:
- 'apps/souls-studio/**'
- '.github/workflows/ci-tauri.yml'
concurrency:
group: ci-tauri-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-22.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Setup Node and pnpm
uses: ./.github/actions/setup-pnpm
with:
node-version: "20"
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: apps/souls-studio/src-tauri -> target
- name: Install Linux dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install dependencies
uses: ./.github/actions/install-deps
- name: Generate changelog JSON
working-directory: apps/souls-studio
run: pnpm run changelog:generate
- name: TypeScript check
working-directory: apps/souls-studio
run: pnpm run typecheck
- name: Rust check
working-directory: apps/souls-studio
run: pnpm run cargo:check