-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (42 loc) · 1.15 KB
/
Copy pathci.yml
File metadata and controls
46 lines (42 loc) · 1.15 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
name: CI
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "17 2 * * *"
jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- uses: dtolnay/rust-toolchain@stable
- run: npm ci
- run: npx playwright install chrome
- run: npm run build
- run: npm run test:all
windows-core:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --manifest-path src-tauri/Cargo.toml
- if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
run: npm run test:integration
live-integration:
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: dtolnay/rust-toolchain@stable
- run: npm run test:integration