-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add CI check for newspack-blocks textdomain #44323
Conversation
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
Great idea and approach, thank you! Didn't take that much of a closer look yet but will do tomorrow. |
Caution: This PR affects files in the FSE Plugin on WordPress.com D46698-code has been created so you can easily test it on your sandbox. See this FieldGuide page about developing in the FSE Plugin for more info: PCYsg-ly5-p2 |
I can't comment on the yarn/lerna lifecycle changes, and I made a couple of small suggestions and re-started the e2e builds to clear out an unrelated timeout, but it looks great overall 👍 |
Thank you, @deBhal for the assessemnt. I don't really have anything to add other than this is really helpful to avoid this in future. Thank you! |
025a27c
to
fa2d712
Compare
I've addressed the comments. it might be nice to get a ✅ , but I may merge anyways by the end of the day since this shouldn't affect much. |
Thanks for improving yarn install times for everybody :) |
Prescript will be removed in the future (yarn2)
fa2d712
to
d898422
Compare
cc @akirk (for textdomain)
cc @scinos (for yarn install time)
cc @Automattic/ajax (for changes to the newspack sync step)
Follows conversation from #44125 (comment).
closes #44296
Changes proposed in this Pull Request
yarn install
. IMO, this is preferred behavior since most wp-calypso devs do not care about it. Additionally, this should not change existing workflows, since you will have to run the build script before testing anyways.a) the newspack-blocks synced files do not exist
b) the php textdomain of any synced files is not
full-site-editing
composer install
.The convenient thing about the workflow is that it tests the generated artifact -- i.e. exactly the files which will be installed in WordPress.
Testing instructions
Locally, you can test both
yarn
andyarn build
for the FSE plugin. However, most of this needed to be verified in CI. (see my screenshots in the comment below for proof)