You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The backend project sets up 3 sets of scripts for various dev commands (e.g. type checking, linting, formatting, etc):
Baseline scripts (e.g. yarn format) to run the command and show the output. These don't change files.
Fix scripts (e.g. yarn format:fix) to run the commands and change files. Note that this won't be relevant for every command, just the ones that can automatically change code.
Check scripts (e.g. yarn check:format) which are what should be used by CI/CD (i.e. githubs automated workflows when you open a new PR). Most of thee time, these are the same as the Baseline scripts, but it's important to keep them separate in case there are different flags needed for local dev vs. the CI/CD pipeline.
Let's standardize the scripts on this project to match the conventions that the backend project is using.
Code:
The relevant code can be found at package.json
Don't forget to update the scripts used by our on push workflow: .github/workflows/checks.yml
The backend project sets up 3 sets of scripts for various dev commands (e.g. type checking, linting, formatting, etc):
yarn format
) to run the command and show the output. These don't change files.yarn format:fix
) to run the commands and change files. Note that this won't be relevant for every command, just the ones that can automatically change code.yarn check:format
) which are what should be used by CI/CD (i.e. githubs automated workflows when you open a new PR). Most of thee time, these are the same as the Baseline scripts, but it's important to keep them separate in case there are different flags needed for local dev vs. the CI/CD pipeline.Let's standardize the scripts on this project to match the conventions that the backend project is using.
Code:
package.json
on push
workflow:.github/workflows/checks.yml
The text was updated successfully, but these errors were encountered: