These are a collection of code snippets I've used in the past and saved.
NodeJS project ESLint config
Add build size to your PR using GitHub Actions