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

Meta: Inline CI linting with cache warmup #494

Merged
merged 2 commits into from
Jun 2, 2023
Merged

Conversation

adamziel
Copy link
Collaborator

@adamziel adamziel commented Jun 2, 2023

What?

Inlines linting and typechecking with the initial cache warmup in the GitHub workflow file. The linting tasks take ~5s to complete and separating them means they actually take longer to continue because a separate step would require ~25s just to run git clone and restore node_modules from cache.

Testing Instructions

Confirm the CI checks under this PR are green

@adamziel adamziel merged commit c3fa795 into trunk Jun 2, 2023
@adamziel adamziel deleted the ci-inline-linting branch June 2, 2023 11:45
danielbachhuber added a commit to WordPress/playground-tools that referenced this pull request Jun 7, 2023
## What?

Copies CI tooling improvements from WordPress Playground, specifically:
* WordPress/wordpress-playground#494
* WordPress/wordpress-playground#496

## Why?

* We should keep CI as consistent as possible between the two
repositories.
* It's nice to have linting and testing split into separate jobs, so
it's easier to see what fails.
* We'll benefit from a slight performance boost.

## Testing Instructions

1. Verify that all tests are run and pass as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant