cypress-io / github-action

GitHub Action for running Cypress end-to-end & component tests

Home Page:https://on.cypress.io/guides/continuous-integration/github-actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

CaiqueCoelho opened this issue · comments

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

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

Closing, since the action works as documented.