Closed alexdigdir closed 3 weeks ago
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Why should we add pre push hook when we already have a hook for this on pre commit? I don't want to run all these operations on all frontend files when I run a commit. Only on stages files, and not only for frontend.
I was not aware of an already existing pre-commit hook that does this, only (optional) pre-commit hook I can find runs pnpm lint-staged -- --color
only.
The tests in this PR are already only running on frontend, running tests in the /packages/frontend/tests folder: `echo "Running Playwright tests..."
pnpm --filter frontend test:playwright
echo "Running typechecking..."
pnpm --filter frontend typecheck`
But I guess everything has to be 100% how you want it or it will never get merged to main, so I will remove all hooks and update PR.
But combining a bug fix with a change to a developer experience (Added pre push hook, running Playwright tests and Typescript checks
) without having discussed the problem, is probably not optimal, don't you agree?
We should definitely find an agreement what suits best for all devs in the team, and I think it's better to address this in a separate issue / pull request.
Hva er endret?
Dokumentasjon / Storybook / testdekning
stories
iStorybook
, eller så er ikke dette relevant.Skjermbilder eller GIFs (valgfritt)
Summary by CodeRabbit
New Features
Bug Fixes