.
This commit is contained in:
parent
4c2d5e90d0
commit
4bad00fe54
1 changed files with 7 additions and 2 deletions
9
.github/workflows/e2e.yml
vendored
9
.github/workflows/e2e.yml
vendored
|
|
@ -23,10 +23,15 @@ jobs:
|
||||||
node-version: "22.x"
|
node-version: "22.x"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
|
- name: Setup rust
|
||||||
|
run: |
|
||||||
|
cargo install sqlx-cli wasm-pack
|
||||||
|
cd backend
|
||||||
|
sqlx database create --database-url sqlite://db.sqlite3
|
||||||
|
sqlx migrate run --source sync_server/src/database/migrations --database-url sqlite://db.sqlite3
|
||||||
|
|
||||||
- name: Build wasm
|
- name: Build wasm
|
||||||
run: |
|
run: |
|
||||||
cargo install wasm-pack
|
|
||||||
cd backend
|
|
||||||
wasm-pack build --target web sync_lib
|
wasm-pack build --target web sync_lib
|
||||||
|
|
||||||
- name: E2E tests
|
- name: E2E tests
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue