File tree Expand file tree Collapse file tree 6 files changed +183
-2
lines changed
Expand file tree Collapse file tree 6 files changed +183
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Build and verify
2+
3+ on :
4+ push :
5+ branches :
6+ - ' **'
7+ pull_request :
8+
9+ jobs :
10+ frontend :
11+ name : Frontend build
12+ runs-on : ubuntu-latest
13+ env :
14+ CI : true
15+ defaults :
16+ run :
17+ working-directory : frontend
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+
22+ - name : Setup Node.js
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : 20
26+ cache : npm
27+ cache-dependency-path : frontend/package-lock.json
28+
29+ - name : Install dependencies
30+ run : npm ci
31+
32+ - name : Build SvelteKit app
33+ run : npm run build
34+
35+ - name : Upload build artifacts
36+ if : always()
37+ uses : actions/upload-artifact@v4
38+ with :
39+ name : frontend-build
40+ path : frontend/.svelte-kit/cloudflare
41+
42+ backend :
43+ name : Backend check
44+ runs-on : ubuntu-latest
45+ defaults :
46+ run :
47+ working-directory : rustytime
48+ steps :
49+ - name : Checkout repository
50+ uses : actions/checkout@v4
51+
52+ - name : Setup Rust toolchain
53+ uses : dtolnay/rust-toolchain@stable
54+
55+ - name : Cache cargo directories
56+ uses : Swatinem/rust-cache@v2
57+
58+ - name : Cargo check
59+ run : cargo check --all-targets
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11<script lang =" ts" >
22 import ' ../app.css' ;
3- import favicon from ' $lib/assets/favicon .svg' ;
3+ import favicon from ' $lib/assets/rustytime .svg' ;
44 import { page } from ' $app/state' ;
55 import AuthErrorWarning from ' $lib/components/AuthErrorWarning.svelte' ;
66 import SideBar from ' $lib/components/SideBar.svelte' ;
Original file line number Diff line number Diff line change 88 },
99 "compatibility_date" : " 2025-09-01" ,
1010 "compatibility_flags" : [" nodejs_compat" ],
11+ "placement" : {
12+ "mode" : " smart"
13+ },
1114 "workers_dev" : false ,
1215 "routes" : [
1316 {
You can’t perform that action at this time.
0 commit comments