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

cypress-io/github-action@v6 is always running on node 20 even when using setup-node with node-version 18 #1086

Closed
CaiqueCoelho opened this issue Nov 30, 2023 · 2 comments
Assignees

Comments

@CaiqueCoelho
Copy link

I'm trying to run a project with cypress-io/github-action@v6 and I need to run the project with node-version 18, I'm using setu-node with 18 to try to override the cypress-io/github-action version, but we still are getting node Node.js v20.8.1

Captura de Tela 2023-11-30 às 12 22 26 Captura de Tela 2023-11-30 às 12 22 43
@MikeMcC399
Copy link
Collaborator

@CaiqueCoelho

It is correct that cypress-io/github-action@v6 runs under node20. See Compatibility.

There is also a short explanation of how this works under Usage in the README documentation.

You may be able to work around your issue by using @v5 of the action, which runs under the deprecated node16 version.

If you need additional assistance please post your workflow (*.yml file) or if your repository is public, then post a link to your repo.

@MikeMcC399
Copy link
Collaborator

Closing, since the action works as documented.

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

No branches or pull requests

2 participants