-
Notifications
You must be signed in to change notification settings - Fork 10
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
node18
is not a valid run.uses
value
#28
Comments
That's a shame. Is there no way for us to let it run using Node18? Since the CLI requires Node18 as a minimum, it doesn't seem logical to leave this on Node16. Can't we use actions/setup-node@v3 to setup our own Node version? |
IIRC, you can run the CLI on
I don't think this is relevant in this context. The |
Not only for development but also to use the CLI. It's possible that it works on Node16, but there is no guarantee since we don't test anything on Node16 anymore. https://pnp.github.io/cli-microsoft365/user-guide/installing-cli#prerequisites |
Thanks for clarifying. As you can see I’ve reverted the change to resolve the validation error. If using node@16 becomes an issue, then we should maybe look to move to Docker style actions where we can define the runtime environment to our needs. |
https://github.blog/changelog/2023-07-17-github-actions-removal-of-node12-from-the-actions-runner/ Also, we should track this issue actions/runner#2619 which is asking for latest node support. |
In
actions.yml
we referencenode18
, but this breaks theyaml
schema validation.https://github.com/pnp/action-cli-login/blob/dda9848b627844079f147a5291963140eac9c28b/action.yml#L26C18-L26C18
runs.uses
should be eithernode12
ornode16
.Schema https://json.schemastore.org/github-action.json
/cc @milanholemans apologies, I missed this in the review 😞
The text was updated successfully, but these errors were encountered: