Try fixing CI

This commit is contained in:
Andras Schmelczer 2024-12-18 23:24:34 +00:00
commit 5e8fb50670
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 7 additions and 7 deletions

View file

@ -28,7 +28,7 @@ jobs:
- name: Build plugin - name: Build plugin
run: | run: |
cd ../plugin cd plugin
npm install npm install
npm run build npm run build

View file

@ -20,6 +20,7 @@ jobs:
- name: Setup - name: Setup
run: | run: |
cargo install sqlx-cli cargo install sqlx-cli
cd backend
sqlx database create --database-url sqlite://db.sqlite3 sqlx database create --database-url sqlite://db.sqlite3
sqlx migrate run --source sync_server/src/database/migrations --database-url sqlite://db.sqlite3 sqlx migrate run --source sync_server/src/database/migrations --database-url sqlite://db.sqlite3
@ -29,8 +30,7 @@ jobs:
cargo clippy --all-targets --all-features cargo clippy --all-targets --all-features
cargo fmt --all -- --check cargo fmt --all -- --check
- name: Build - name: Test
run: cargo build --verbose run: |
cd backend
- name: Run tests cargo test --verbose
run: cargo test --verbose

View file

@ -1,7 +1,7 @@
{ {
"id": "sample-plugin", "id": "sample-plugin",
"name": "Sync & Share", "name": "Sync & Share",
"version": "0.0.0", "version": "0.0.1-rc1",
"minAppVersion": "0.15.0", "minAppVersion": "0.15.0",
"description": "Demonstrates some of the capabilities of the Obsidian API.", "description": "Demonstrates some of the capabilities of the Obsidian API.",
"author": "Obsidian", "author": "Obsidian",