-
-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (31 loc) · 802 Bytes
/
test.yml
File metadata and controls
33 lines (31 loc) · 802 Bytes
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
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
cache: pnpm
- run: pnpm install
- run: pnpm build
- run: pnpm ts:check
- run: pnpm format:check
- name: install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.1 libayatana-appindicator3-dev librsvg2-dev patchelf
- uses: dtolnay/rust-toolchain@stable
- name: build example
working-directory: example
run: |
pnpm i
pnpm build:tauri