setup openapi spec build chain

This commit is contained in:
realaravinth
2021-10-08 15:55:53 +05:30
parent 9afb63c738
commit 428d60ebb0
7 changed files with 6080 additions and 1 deletions

View File

@@ -31,15 +31,23 @@ docker-publish:
frontend:
cd browser && wasm-pack build --release
cd docs/openapi/ yarn build
yarn install
yarn build
frontend-test:
cd browser && wasm-pack test --release --headless --chrome
cd browser && wasm-pack test --release --headless --firefox
cd docs/openapi && yarn test
cd browser && cargo test
yarn test
lint:
cargo fmt -v --all -- --emit files
cargo clippy --workspace --tests --all-features
yarn lint
cd docs/openapi && yarn test
migrate:
cargo run --bin tests-migrate