diff --git a/.github/workflows/lint-js-and-ruby.yml b/.github/workflows/lint-js-and-ruby.yml index 5c345d172d..097a45f13e 100644 --- a/.github/workflows/lint-js-and-ruby.yml +++ b/.github/workflows/lint-js-and-ruby.yml @@ -55,7 +55,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 - cache: yarn + # TODO: Re-enable cache when Node.js 22 V8 bug is fixed + # Disable cache for Node 22 due to V8 bug in 22.21.0 + # Track: https://github.com/nodejs/node/issues/56010 + cache: '' cache-dependency-path: '**/yarn.lock' - name: Print system information run: | diff --git a/.github/workflows/package-js-tests.yml b/.github/workflows/package-js-tests.yml index 1411f29a4f..a9e6b64acb 100644 --- a/.github/workflows/package-js-tests.yml +++ b/.github/workflows/package-js-tests.yml @@ -60,7 +60,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - cache: yarn + # TODO: Re-enable cache when Node.js 22 V8 bug is fixed + # Disable cache for Node 22 due to V8 bug in 22.21.0 + # Track: https://github.com/nodejs/node/issues/56010 + cache: ${{ matrix.node-version != '22' && 'yarn' || '' }} cache-dependency-path: '**/yarn.lock' - name: Print system information run: | diff --git a/.github/workflows/pro-integration-tests.yml b/.github/workflows/pro-integration-tests.yml index 78b9917253..06edf81dce 100644 --- a/.github/workflows/pro-integration-tests.yml +++ b/.github/workflows/pro-integration-tests.yml @@ -52,7 +52,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 - cache: yarn + # TODO: Re-enable cache when Node.js 22 V8 bug is fixed + # Disable cache for Node 22 due to V8 bug in 22.21.0 + # Track: https://github.com/nodejs/node/issues/56010 + cache: '' cache-dependency-path: 'react_on_rails_pro/**/yarn.lock' - name: Print system information @@ -139,7 +142,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 - cache: yarn + # TODO: Re-enable cache when Node.js 22 V8 bug is fixed + # Disable cache for Node 22 due to V8 bug in 22.21.0 + # Track: https://github.com/nodejs/node/issues/56010 + cache: '' cache-dependency-path: 'react_on_rails_pro/**/yarn.lock' - name: Print system information @@ -327,7 +333,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 - cache: yarn + # TODO: Re-enable cache when Node.js 22 V8 bug is fixed + # Disable cache for Node 22 due to V8 bug in 22.21.0 + # Track: https://github.com/nodejs/node/issues/56010 + cache: '' cache-dependency-path: 'react_on_rails_pro/**/yarn.lock' - name: Print system information diff --git a/.github/workflows/pro-lint.yml b/.github/workflows/pro-lint.yml index fa7d85adc9..0ffb183782 100644 --- a/.github/workflows/pro-lint.yml +++ b/.github/workflows/pro-lint.yml @@ -51,7 +51,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 - cache: yarn + # TODO: Re-enable cache when Node.js 22 V8 bug is fixed + # Disable cache for Node 22 due to V8 bug in 22.21.0 + # Track: https://github.com/nodejs/node/issues/56010 + cache: '' cache-dependency-path: 'react_on_rails_pro/**/yarn.lock' - name: Print system information diff --git a/.github/workflows/pro-package-tests.yml b/.github/workflows/pro-package-tests.yml index e69993ea1e..d5ccddd6df 100644 --- a/.github/workflows/pro-package-tests.yml +++ b/.github/workflows/pro-package-tests.yml @@ -52,7 +52,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 - cache: yarn + # TODO: Re-enable cache when Node.js 22 V8 bug is fixed + # Disable cache for Node 22 due to V8 bug in 22.21.0 + # Track: https://github.com/nodejs/node/issues/56010 + cache: '' cache-dependency-path: 'react_on_rails_pro/**/yarn.lock' - name: Print system information @@ -144,7 +147,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 - cache: yarn + # TODO: Re-enable cache when Node.js 22 V8 bug is fixed + # Disable cache for Node 22 due to V8 bug in 22.21.0 + # Track: https://github.com/nodejs/node/issues/56010 + cache: '' cache-dependency-path: 'react_on_rails_pro/**/yarn.lock' - name: Print system information