Description
Description:
I have a React app that uses GitHub Actions for CI. After upgrading its Node version to 23.0.0, the dependency installation step fails saying "The remote archive doesn't match the expected checksum." I am not able to replicate these errors in my local environment.
This is set up in my .github/workflows/ci.yml
file as follows:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "23.0.0"
- name: "install Node Modules"
run: yarn
As soon as I changed node-version: "22.11.0"
to node-version: "23.0.0"
, the builds started failing.
Action version:
v4
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
Node: 23.0.0
npm: 10.9.0
yarn: 3.6.4
Repro steps:
This is an example of one of the failing builds. I made two PRs that failed. The commonalities are that Node is updated to 23.0.0 in the package.json
, .tool-versions
, and ci.yml
files.
Expected behavior:
I expected my build to continue running, and passing, like it was until I updated Node.
Actual behavior:
yarn install
fails, indicating that "The remote archive does not match the expected checksum"