Skip to content

Commit ff69573

Browse files
committed
fix(ci): align wasm-bindgen versions and clean trunk cache
1 parent e62c352 commit ff69573

3 files changed

Lines changed: 15 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ jobs:
3232
3333
- name: Build frontend
3434
working-directory: rustmail_panel
35-
run: trunk build --release --dist ../rustmail/static --config Trunk.toml
35+
run: |
36+
rm -rf dist .trunk
37+
trunk clean
38+
trunk build --release --dist ../rustmail/static --config Trunk.toml
3639
3740
- name: Build Rust backend
3841
run: cargo build --verbose -p rustmail

.github/workflows/release-ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ jobs:
4343
4444
- name: Build frontend
4545
working-directory: rustmail_panel
46-
run: trunk build --release --dist ../rustmail/static --config Trunk.toml
46+
run: |
47+
rm -rf dist .trunk
48+
trunk clean
49+
trunk build --release --dist ../rustmail/static --config Trunk.toml
4750
4851
- name: Build Rust backend
4952
run: cargo build --verbose -p rustmail
@@ -114,7 +117,10 @@ jobs:
114117

115118
- name: Build frontend
116119
working-directory: rustmail_panel
117-
run: trunk build --release --dist ../rustmail/static --config Trunk.toml
120+
run: |
121+
rm -rf dist .trunk
122+
trunk clean
123+
trunk build --release --dist ../rustmail/static --config Trunk.toml
118124
119125
- name: Verify static files were created
120126
run: ls rustmail/static

rustmail_panel/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ license = "MIT"
88
rustmail_types = { path = "../rustmail_types" }
99
yew = { version = "0.21", features = ["csr"] }
1010
yew-router = "0.18.0"
11-
wasm-bindgen-futures = "0.4.50"
11+
wasm-bindgen-futures = "0.4.55"
1212
gloo-net = "0.6.0"
1313
gloo-utils = "0.2.0"
14-
web-sys = { version = "0.3.77", features = ["HtmlSelectElement"] }
14+
web-sys = { version = "0.3.82", features = ["HtmlSelectElement"] }
1515
serde_json = "1.0.145"
1616
i18nrs = { version = "0.1.7", features = ["yew"] }
1717
serde = { version = "1.0.228", features = ["derive"] }
1818
js-sys = "0.3.82"
19-
wasm-bindgen = "0.2.100"
19+
wasm-bindgen = "0.2.105"
2020
urlencoding = "2.1.3"
2121
ammonia = "4.1.2"
2222
pulldown-cmark = "0.13.0"

0 commit comments

Comments
 (0)