This PR implements depcheck as a GitHub Action in order to validate that there are no frontend libraries in the yarn.lock file that are not being used. By incorporating depcheck into our workflow, we can ensure that our frontend package size remains small and our builds run faster.
Summary of Changes
Created a new YAML file, .github/workflows/depcheck.yml, to define the depcheck GitHub Action workflow.
Added a job to the workflow that runs on the push event.
Configured the job to run on the ubuntu-latest platform.
Added steps to checkout the repository code and run the depcheck command in the frontend directory.
Branch: {branch}
Fixes #895.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/depcheck-sweep-action_3
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR implements depcheck as a GitHub Action in order to validate that there are no frontend libraries in the yarn.lock file that are not being used. By incorporating depcheck into our workflow, we can ensure that our frontend package size remains small and our builds run faster.
Summary of Changes
.github/workflows/depcheck.yml
, to define the depcheck GitHub Action workflow.push
event.ubuntu-latest
platform.Branch: {branch}
Fixes #895.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.