Skip to content

Commit deb75dc

Browse files
committed
Fix: CI needs dev dependencies installed
1 parent 8b9ec41 commit deb75dc

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,11 @@ jobs:
3434
- uses: actions/checkout@v4
3535
with:
3636
submodules: recursive
37-
- name: Install dist
38-
# we specify bash to get pipefail; it guards against the `curl` command
39-
# failing. otherwise `sh` won't catch that `curl` returned non-0
40-
shell: bash
41-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.27.0/cargo-dist-installer.sh | sh"
4237
- uses: actions/setup-node@v4
4338
with:
4439
node-version: 20
4540
- name: Run tests
4641
run: |
4742
cd server
48-
./bt install
43+
./bt install --dev
4944
./bt check

builder/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ fn run_build() -> Result<(), Box<dyn std::error::Error>> {
351351
fn run_prerelease() -> Result<(), Box<dyn std::error::Error>> {
352352
// Clean out all bundled files before the rebuild.
353353
remove_dir_all_if_exists("../client/static/bundled")?;
354-
run_install(false)?;
354+
run_install(true)?;
355355
run_script("npm", &["run", "dist"], "../client", true)?;
356356
Ok(())
357357
}

0 commit comments

Comments
 (0)