-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
This Action uses @actions/setup-node in order to run the install of @wordpress/env and setup of the environment. Because of this, the Node versions are set to what is provided by this Action, when the Action step comes after another @actions/setup-node in a workflow.
For example, the following workflow config results in Node version lts/* (as of right now is 18, and is not expected).
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Setup wp-env
uses: godaddy-wordpress/setup-wp-env@v1On the other hand, the following workflow config results in Node version 16 (which is expected).
- name: Setup wp-env
uses: godaddy-wordpress/setup-wp-env@v1
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16Because this Action requires node, we must add an input for the user to provide options to @actions/setup-node config OR do not run @actions/setup-node when node is already setup.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed