ci: check frontend formatting with Prettier #22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "robinp2000/ci/frontend-format-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
formatandformat:checknpm scripts to the frontend.lintjob to the CI workflow that runsnpm ciandnpm run format:checkinfrontend/. It needs only Node, no JDK.buildjob now needslint, so a formatting problem fails the pipelinebefore the slow backend tests start.
Why
The frontend was formatted in #21. Without a check the formatting would drift
again with the next change.
Tests
npm run format:checkpasses locally.Notes
npm test.