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 14, 2023
Merged

Conversation

dkotter
Copy link
Collaborator

@dkotter dkotter commented Jun 14, 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-release. That command should work, though it will output some CSS warnings.

@dkotter dkotter requested a review from jeffpaul as a code owner June 14, 2023 21:35
@dkotter dkotter self-assigned this Jun 14, 2023
@dkotter dkotter changed the title Update our deploy action to run node 16 Update our deploy action to run under node 16 Jun 14, 2023
@jeffpaul jeffpaul added this to the 1.1.2 milestone Jun 14, 2023
@jeffpaul jeffpaul merged commit 3f4db3c into develop Jun 14, 2023
5 checks passed
@jeffpaul jeffpaul deleted the fix/deploy-action branch June 14, 2023 21:36
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.

None yet

2 participants