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

Use matrix for npm run check:* commands in CI #1792

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ericcornelissen
Copy link
Owner

Relates to #1766

Summary

Reduce duplication and the overall size of the CI configuration by using the fact that all check:* commands are more or less identical and can thus perfectly be used in a matricized CI job.

Reduce duplication and the overall size of the CI configuration by using
the fact that all `check:*` commands are more or less identical and can
thus perfectly be used in a matricized CI job.

This also folds the lockfile and manifest checks (`package.json` and
`package-lock.json` in CI) into the main `checks.yml` workflow to
further simplify things (the previous setup was chosen to reduce wasting
CI cycles on checking these when the files didn't change, but the
simplicity of the approach here seems better to me atm).

Fingers crossed this isn't going to be a nightmare with
`step-security/harden-runner`.
@ericcornelissen ericcornelissen added the ci/cd Relates to ci/cd label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Relates to ci/cd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant