Skip to content

Commit 898ac68

Browse files
committed
ci: update ci.yml
1 parent 2b0b671 commit 898ac68

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.fluentci/src/lib.rs

+11
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,14 @@ pub fn e2e() -> FnResult<String> {
1111
.stdout()?;
1212
Ok(stdout)
1313
}
14+
15+
#[plugin_fn]
16+
pub fn server_e2e() -> FnResult<String> {
17+
let stdout = dag()
18+
.mise()?
19+
.with_exec(vec![
20+
"mise install && cd src/server && cp ormconfig.ci.json ormconfig.json && mise x -- bun install && mise x -- bun run migrate:up && mise x -- bun run test:e2e",
21+
])?
22+
.stdout()?;
23+
Ok(stdout)
24+
}

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ jobs:
3737
cd src/client && fluentci run --wasm cypress install
3838
cd ../..
3939
fluentci run --wasm . e2e
40+
- name: 🔄 E2E Server
41+
run: |
42+
fluentci run --wasm . server_e2e

0 commit comments

Comments
 (0)