Skip to content

Update our deploy action to run under node 16#116

Merged
jeffpaul merged 1 commit intodevelopfrom
fix/deploy-action
Jun 14, 2023
Merged

Update our deploy action to run under node 16#116
jeffpaul merged 1 commit intodevelopfrom
fix/deploy-action

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
@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.

2 participants

Comments