-
Notifications
You must be signed in to change notification settings - Fork 0
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
Enhancement/automated pr wprocket and remove dist #12
Enhancement/automated pr wprocket and remove dist #12
Conversation
Good point, I just want to share a small thing with you. |
Thanks for the feedback @wordpressfan |
Yes this would work with the release workflow and that's great.
How would they do that? u mean opening the branch they want in rocket-scripts and running build script then copying those files manually to WPR? |
Ah right, got it now. Hmm let me think :D |
We could adjust wp-rocket to build wp-rocket-scripts intead of just copying the dist files? We could add a npm script in package.json: So that, after npm install, instead of doing Seems to be working on my end |
I was thinking of something like that but with So once we run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to create a followup PR in WPR repo as mentioned in the comments above.
…ent/automated-pr-wprocket-and-remove-dist
Description
Over the past 2 weeks, the use of this repository has been complicated as it is not clear for everyone how to use it to update the script.
This PR fixes a few practices that could help: the dist files are not stored anymore, but build when needed ; when releasing a new version, a PR is opened on WP Rocket directly to manage the transition to wp-rocket repo.
The new GH action needs tokens and a branch on WP Rocket.
Documentation
User documentation
Technical documentation
NA
Type of change
Delete options that are not relevant.
New dependencies
NA
Risks
The new GH action will be need to be tested.
Checklists
Feature validation
Documentation
Code style
Observability
Risks