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

Update our deploy action to run under node 16 #116

Merged
merged 1 commit into from
Jun 28, 2023
Merged

Conversation

dkotter
Copy link
Collaborator

@dkotter dkotter commented Jun 27, 2023

Description of the Change

Our Deploy to WordPress.org action is failing and it appears to be an issue with the node version that the action runs under and the webpack version the plugin uses to build assets.

Found this answer that talks about changes in node v17+ that conflict with webpack v4. While it would be ideal to update this plugin to use the latest version of webpack, the easy approach for now is to run our deploy action under node 16.

How to test the Change

Can't test for sure until we trigger the deploy action but you can test locally by installing node 16 and running npm run build. That command should work.

@dkotter dkotter requested a review from jeffpaul as a code owner June 27, 2023 22:25
@dkotter dkotter self-assigned this Jun 27, 2023
@jeffpaul jeffpaul added this to the 1.2.0 milestone Jun 28, 2023
Copy link
Member

@jeffpaul jeffpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me, yolo'ing back into the release

@jeffpaul jeffpaul merged commit 8d059ff into develop Jun 28, 2023
@jeffpaul jeffpaul deleted the fix/deploy-action branch June 28, 2023 00:35
@jeffpaul jeffpaul mentioned this pull request Jun 28, 2023
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants