swisspost / design-system

The Swiss Post Design System pattern library for a consistent and accessible user experience across the web platform.
https://design-system.post.ch
Apache License 2.0
106 stars 13 forks source link

Refactor lint workflow #2999

Closed oliverschuerch closed 2 weeks ago

oliverschuerch commented 3 weeks ago

Linting in the packages is not triggered, when we update pnpm or node, because only changes in the package folder and only changed packages and their dependants are linted.

This caused problems in the past, because some lint errors only appeared in a future PR but not in the one, which actually updated node or pnpm.

Let's run the linting scripts on every PR for and for every package which provides a lint script.