Skip to content

Commit 7e98274

Browse files
committed
fix db structure
1 parent cb3fe3e commit 7e98274

271 files changed

Lines changed: 46708 additions & 8580 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy-pages.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'apps/web/**'
9+
- 'apps/landing/**'
10+
- 'packages/**'
11+
- '.github/workflows/deploy-pages.yml'
12+
workflow_dispatch:
13+
14+
permissions:
15+
contents: read
16+
pages: write
17+
id-token: write
18+
19+
concurrency:
20+
group: 'pages'
21+
cancel-in-progress: true
22+
23+
jobs:
24+
build:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
30+
- name: Setup Node.js
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version: '22'
34+
cache: 'npm'
35+
36+
- name: Install dependencies
37+
run: npm ci
38+
39+
- name: Build GitHub Pages site
40+
run: npm run build:pages
41+
env:
42+
# Set base URL for GitHub Pages project site
43+
VITE_BASE_URL: /${{ github.event.repository.name }}/
44+
45+
- name: Setup Pages
46+
uses: actions/configure-pages@v4
47+
48+
- name: Upload artifact
49+
uses: actions/upload-pages-artifact@v3
50+
with:
51+
path: 'dist'
52+
53+
deploy:
54+
environment:
55+
name: github-pages
56+
url: ${{ steps.deployment.outputs.page_url }}
57+
runs-on: ubuntu-latest
58+
needs: build
59+
steps:
60+
- name: Deploy to GitHub Pages
61+
id: deployment
62+
uses: actions/deploy-pages@v4

.github/workflows/deploy.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.github/workflows/tauri-check.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: 'Build Tauri (PR Check)'
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'apps/tauri/**'
7+
- 'apps/web/**'
8+
- 'packages/**'
9+
- '.github/workflows/tauri-*.yml'
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
build-check:
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
platform: [macos-latest, ubuntu-22.04, windows-latest]
21+
22+
runs-on: ${{ matrix.platform }}
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v4
26+
27+
- name: Setup Node.js
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: '22'
31+
cache: 'npm'
32+
33+
- name: Install Rust stable
34+
uses: dtolnay/rust-action@stable
35+
36+
- name: Install Linux dependencies
37+
if: matrix.platform == 'ubuntu-22.04'
38+
run: |
39+
sudo apt-get update
40+
sudo apt-get install -y \
41+
libwebkit2gtk-4.1-dev \
42+
libappindicator3-dev \
43+
librsvg2-dev \
44+
patchelf \
45+
libssl-dev
46+
47+
- name: Install dependencies
48+
run: npm ci
49+
50+
- name: Build shared package
51+
run: npm run build -w packages/shared
52+
53+
- name: Build database package
54+
run: npm run build -w packages/database
55+
56+
- name: Build web app
57+
run: npm run build:web
58+
59+
- name: Check Rust compilation
60+
working-directory: apps/tauri
61+
run: cargo check
62+
63+
- name: Build Tauri app (debug)
64+
working-directory: apps/tauri
65+
run: npx tauri build --debug
66+
env:
67+
TAURI_SIGNING_PRIVATE_KEY: ''

0 commit comments

Comments
 (0)