Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should npm run script check run after test? #141

Open
shadowspawn opened this issue May 14, 2023 · 1 comment
Open

Should npm run script check run after test? #141

shadowspawn opened this issue May 14, 2023 · 1 comment

Comments

@shadowspawn
Copy link
Member

shadowspawn commented May 14, 2023

There are some minor benefits to having the lint check separate from the runtime tests, so that more of the GitHub Action checks complete and aren't blocked by lint issues. However, makes it easy to open a PR and push code that will fail on the lint check.

I noticed there is postest run script, which should presumably be posttest! Leaning towards enabling that as I tend to only fix one breakage at a time anyway.

"postest": "check",

Fixing that would render this line obsolete:

- run: npm run check

@shadowspawn
Copy link
Member Author

Currently the check is a bit noisy due to dependencies. Might be a good time to make this change when drop node 12 and update dependencies.

=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.5.0

YOUR TYPESCRIPT VERSION: 4.9.5

Please only submit bug reports when using the officially supported version.

=============

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant