Skip to content

React build command optimizations for Consent Portal #75

Description

@rashmithachamikara

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions