Improve CI (#181)
This commit is contained in:
parent
8e4ac3a26a
commit
9ac7fdbeb7
10 changed files with 44 additions and 33 deletions
12
scripts/build-docs.sh
Normal file
12
scripts/build-docs.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
cd docs
|
||||
|
||||
npm ci
|
||||
npm run format:check
|
||||
npm run spell:check
|
||||
npm run build
|
||||
|
||||
cd -
|
||||
|
|
@ -20,7 +20,7 @@ else
|
|||
cargo fmt --all -- --check
|
||||
fi
|
||||
|
||||
cargo install cargo-machete
|
||||
which cargo-machete || cargo install cargo-machete
|
||||
cargo machete --with-metadata
|
||||
|
||||
echo "Running checks in frontend"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue