The continuous integration failure is due to code formatting discrepancies identified by Prettier during the npm run format:check command execution.
Detailed Analysis
The command executed, npm run format:check, invokes npx prettier --check . to check all files in the root directory for proper formatting. The logs indicate that there were formatting warnings in two files:
CONTRIBUTING.md
README.md
Prettier flagged these files as not adhering to the expected code style, which caused the build process to exit with a status code of 1, marking the job as a failure.
Resolution
To resolve the issue, run npx prettier --write . on your local development environment to automatically format the affected files according to Prettier's rules. After correcting the formatting, commit the changes to ensure the continuous integration pipeline passes without formatting errors.
Issue Overview
The continuous integration failure is due to code formatting discrepancies identified by Prettier during the
npm run format:check
command execution.Detailed Analysis
The command executed,
npm run format:check
, invokesnpx prettier --check .
to check all files in the root directory for proper formatting. The logs indicate that there were formatting warnings in two files:Resolution
To resolve the issue, run
npx prettier --write .
on your local development environment to automatically format the affected files according to Prettier's rules. After correcting the formatting, commit the changes to ensure the continuous integration pipeline passes without formatting errors.