React build command currently performs
vite build && pnpm security:verify
However, the build script might be improved to perform all of the below automatically
- pnpm security:audit
- lint
- test
- build
- pnpm security:verify
This will reduce accidentally committing without running these checks. However, this might increase time taken since tests might take a lot of time
Current CI script (GitHub workflows) automatically checks all these and fails if a check fails) on PRs
TODO: Needs to check whether this is a conventional and best practice in React
React build command currently performs
vite build && pnpm security:verifyHowever, the build script might be improved to perform all of the below automatically
This will reduce accidentally committing without running these checks. However, this might increase time taken since tests might take a lot of time
Current CI script (GitHub workflows) automatically checks all these and fails if a check fails) on PRs
TODO: Needs to check whether this is a conventional and best practice in React