From 9a5d1ce11f142b7b50af09d76e7808b104c73abe Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Sat, 10 Feb 2024 15:08:19 +0100 Subject: [PATCH] Only install direct dependencies. --- .github/workflows/backend-tests.yml | 8 ++++---- .github/workflows/frontend-admin-tests.yml | 2 +- .github/workflows/frontend-tests.yml | 2 +- .github/workflows/load-test.yml | 8 +++----- .github/workflows/perform-type-check.yml | 2 +- .github/workflows/upgrade-from-latest-release.yml | 2 +- .github/workflows/windows.yml | 4 ++-- 7 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index 53800af45..5c0a176b6 100644 --- a/.github/workflows/backend-tests.yml +++ b/.github/workflows/backend-tests.yml @@ -44,7 +44,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Install libreoffice run: | @@ -95,7 +95,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Install libreoffice run: | @@ -170,7 +170,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Install all dependencies and symlink for ep_etherpad-lite run: src/bin/installOnWindows.bat @@ -217,7 +217,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Install Etherpad plugins # The --legacy-peer-deps flag is required to work around a bug in npm diff --git a/.github/workflows/frontend-admin-tests.yml b/.github/workflows/frontend-admin-tests.yml index 24d16f5d3..c320e07d5 100644 --- a/.github/workflows/frontend-admin-tests.yml +++ b/.github/workflows/frontend-admin-tests.yml @@ -49,7 +49,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Install etherpad plugins # We intentionally install an old ep_align version to test upgrades to diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index 4122fdf11..3a7ff5b91 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -43,7 +43,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Install all dependencies and symlink for ep_etherpad-lite run: src/bin/installDeps.sh diff --git a/.github/workflows/load-test.yml b/.github/workflows/load-test.yml index 32c84f003..97966a87d 100644 --- a/.github/workflows/load-test.yml +++ b/.github/workflows/load-test.yml @@ -40,9 +40,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true - - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Install all dependencies and symlink for ep_etherpad-lite run: src/bin/installDeps.sh @@ -86,7 +84,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Install etherpad-load-test run: pnpm install -g etherpad-load-test @@ -157,7 +155,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Install all dependencies and symlink for ep_etherpad-lite run: src/bin/installDeps.sh diff --git a/.github/workflows/perform-type-check.yml b/.github/workflows/perform-type-check.yml index 58ed22ed2..326e9e0cb 100644 --- a/.github/workflows/perform-type-check.yml +++ b/.github/workflows/perform-type-check.yml @@ -37,7 +37,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Install all dependencies and symlink for ep_etherpad-lite run: ./bin/installDeps.sh diff --git a/.github/workflows/upgrade-from-latest-release.yml b/.github/workflows/upgrade-from-latest-release.yml index c46c06f01..fc5074315 100644 --- a/.github/workflows/upgrade-from-latest-release.yml +++ b/.github/workflows/upgrade-from-latest-release.yml @@ -46,7 +46,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Install Etherpad plugins # The --legacy-peer-deps flag is required to work around a bug in npm diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d5b66d0d3..cfa11c779 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -46,7 +46,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Install all dependencies and symlink for ep_etherpad-lite shell: msys2 {0} @@ -140,7 +140,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - name: Only install direct dependencies - run: pnpm config set auto-install-peers true + run: pnpm config set auto-install-peers false - name: Run Etherpad run: |