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

fix: remove no-bundle from test build and fix flag #1008

Merged
merged 1 commit into from
Jun 28, 2022

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Jun 23, 2022

We run build before test but pass --no-bundle on the assumption that a project build command is aegir build. Passing --no-bundle skips making a minified build for a tiny speedup.

If the project build command isn't aegir build this can break things so remove the optimisation.

Also build by default before test (to support typescript) and fix the problem whereby the build flag was being ignored for typescript projects.

Fixes: #975

We run build before test but pass `--no-bundle` on the assumption
that a project build command is `aegir build`.  Passing `--no-bundle`
skips making a minified build for a tiny speedup.

If the project build command isn't `aegir build` this can break things
so remove the optimisation.

Also build by default before test and fix the problem whereby the build
flag was being ignored for typescript projects.

Fixes: #975
@achingbrain achingbrain merged commit f888be4 into master Jun 28, 2022
@achingbrain achingbrain deleted the fix/remove-no-bundle branch June 28, 2022 06:52
github-actions bot pushed a commit that referenced this pull request Jun 28, 2022
## [37.4.2](v37.4.1...v37.4.2) (2022-06-28)

### Bug Fixes

* remove no-bundle from test build and fix flag ([#1008](#1008)) ([f888be4](f888be4)), closes [#975](#975)
@github-actions
Copy link

🎉 This PR is included in version 37.4.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

aegir test is broken
2 participants