cypress-io / github-action

GitHub Action for running Cypress end-to-end & component tests
https://on.cypress.io/guides/continuous-integration/github-actions
MIT License
1.35k stars 357 forks source link

ci(deps): update main workflow node.js to 20.13.1 #1218

Closed MikeMcC399 closed 1 month ago

MikeMcC399 commented 1 month ago

Issue

The .github/workflows/main.yml workflow is intended to run with the same Node.js version as defined in https://github.com/actions/runner/blob/main/src/Misc/externals.sh in order to provide a representative CI test.

The workflow currently uses Node.js 20.8.1

https://github.com/cypress-io/github-action/blob/76647aab959ed8c5508c2a310420a36bb9bf3157/.github/workflows/main.yml#L21

whereas the GitHub runner has been updated to use NODE20_VERSION="20.13.1" in the meantime

https://github.com/actions/runner/blob/2a7f327d93fb79326c974f4858ce62c3b81c580a/src/Misc/externals.sh#L11

Change

Update Node.js in .github/workflows/main.yml from 20.8.1 to 20.13.1.

cypress-app-bot commented 1 month ago
MikeMcC399 commented 1 month ago

npm error Exit handler never called!

is mentioned in the release notes for Node.js 22.5.1

github-actions[bot] commented 1 month ago

:tada: This PR is included in version 6.7.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: