Run the checks before pushing. CI runs the same commands on every pull request, so this saves you a failed build.
Run this from client:
client
npm run checks
On Windows this runs run-checks.bat. On Linux and MacOS, run run-checks.sh yourself, instead.
run-checks.bat
run-checks.sh
The script runs these commands in order and stops at the first failure:
cargo fmt --all
cargo clippy -- -W warnings
cargo check
npm run check
npm run test:storybook
Fix any errors or warnings before pushing.
For a visual view of components, run npm run storybook. It opens the storybook UI in your browser.
npm run storybook
Run these from server:
server
cargo fmt --all cargo clippy -- -W warnings
There was an error while loading. Please reload this page.