diff --git a/.github/workflows/test-codegen.yml b/.github/workflows/test-codegen.yml index 8f6f438d6c..24ed8428a1 100644 --- a/.github/workflows/test-codegen.yml +++ b/.github/workflows/test-codegen.yml @@ -54,6 +54,8 @@ jobs: - name: Install dependencies run: yarn install + env: + YARN_ENABLE_IMMUTABLE_INSTALLS: false - name: Pack run: yarn pack @@ -101,6 +103,8 @@ jobs: - name: Install dependencies run: yarn install + env: + YARN_ENABLE_IMMUTABLE_INSTALLS: false - name: Install build artifact run: yarn add ./package.tgz @@ -138,6 +142,8 @@ jobs: - name: Install deps run: yarn install + env: + YARN_ENABLE_IMMUTABLE_INSTALLS: false - name: Download artifact id: download-artifact diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d8cd532692..49e8bf8d74 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,6 +45,8 @@ jobs: - name: Install deps run: yarn install + env: + YARN_ENABLE_IMMUTABLE_INSTALLS: false # Read existing version, reuse that, add a Git short hash - name: Set build version to Git commit @@ -95,6 +97,8 @@ jobs: - name: Install deps run: yarn install + env: + YARN_ENABLE_IMMUTABLE_INSTALLS: false - name: Download build artifact uses: actions/download-artifact@v4 @@ -158,6 +162,8 @@ jobs: - name: Install deps run: yarn install + env: + YARN_ENABLE_IMMUTABLE_INSTALLS: false - name: Install React ${{ matrix.react.version }} and React-DOM ${{ matrix.react.react-dom.version }} run: yarn up react@${{ matrix.react.version }} react-dom@${{ matrix.react.react-dom.version }} @types/react@${{ matrix.react.types }} @types/react-dom@${{ matrix.react.react-dom.types }} @@ -223,6 +229,8 @@ jobs: - name: Install deps run: yarn install + env: + YARN_ENABLE_IMMUTABLE_INSTALLS: false - name: Remove existing RTK run: yarn remove @reduxjs/toolkit @@ -277,6 +285,8 @@ jobs: - name: Install deps run: yarn install + env: + YARN_ENABLE_IMMUTABLE_INSTALLS: false - uses: actions/download-artifact@v4 with: @@ -316,6 +326,8 @@ jobs: - name: Install deps run: yarn install + env: + YARN_ENABLE_IMMUTABLE_INSTALLS: false - uses: actions/download-artifact@v4 with: diff --git a/netlify.toml b/netlify.toml index 4a36ffab39..33489b5683 100644 --- a/netlify.toml +++ b/netlify.toml @@ -10,6 +10,8 @@ NODE_OPTIONS = "--max_old_space_size=4096" NETLIFY_USE_YARN = "true" YARN_VERSION = "1.22.10" +YARN_ENABLE_IMMUTABLE_INSTALLS = false + [[plugins]] package = "netlify-plugin-cache" [plugins.inputs]