- run:
npm i
- run:
npm run test:all
- run:
npm i
- add new test file in
~/test
directory- currently, there are dirs:
books, music
, if your new test file does not touch either, feel free to make a new directory.- If you are making a new directory:
- you probably need a new GHA workflow and/or update current ones
- If you are making a new directory:
- currently, there are dirs:
- add script into package.json
- add new reusable workflow file, see [reusable workflows]
- add new reusable workflow file into main job tickets
main job tickets
- main.yml
- merge.yml
- cron.yml
- pull-request.yml
reusable workflows
- music.yml
- books.yml
- check-lint-circ.yml
To scan the project for linting errors, run
yarn run lint
You can lint with ESLint and Prettier individually as well
yarn run lint:eslint
yarn run lint:prettier
To automatically fix many linting errors, run
yarn run format
You can format using ESLint and Prettier individually as well
yarn run format:eslint
yarn run format:prettier
For most of the tools, the configuration is in the package.json
to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.