From bb38c50cbe201f05306a1a87077cc74d467ae06d Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Sun, 19 Oct 2025 18:17:07 +0200 Subject: [PATCH] chore: updated gnpm globally --- .github/workflows/backend-tests.yml | 14 ++++++++------ .github/workflows/build-and-deploy-docs.yml | 7 +++++-- .github/workflows/docker.yml | 7 +++++-- .github/workflows/frontend-admin-tests.yml | 8 ++++++-- .github/workflows/frontend-tests.yml | 15 +++++++++------ .github/workflows/handleRelease.yml | 5 +++-- .github/workflows/load-test.yml | 13 +++++++------ .github/workflows/perform-type-check.yml | 5 +++-- .github/workflows/rate-limit.yml | 5 +++-- .github/workflows/release.yml | 5 +++-- .github/workflows/releaseEtherpad.yml | 5 +++-- .github/workflows/upgrade-from-latest-release.yml | 5 +++-- 12 files changed, 58 insertions(+), 36 deletions(-) diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index 5e17d2199..30560c82d 100644 --- a/.github/workflows/backend-tests.yml +++ b/.github/workflows/backend-tests.yml @@ -12,6 +12,8 @@ on: permissions: contents: read +env: + GNPM_VERSION: 0.1.0 jobs: withoutpluginsLinux: @@ -40,14 +42,14 @@ jobs: ${{ env.PNPM_HOME }} ~/.local/share/gnpm /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install libreoffice uses: awalsh128/cache-apt-pkgs-action@v1.6.0 @@ -96,14 +98,14 @@ jobs: ${{ env.PNPM_HOME }} ~/.local/share/gnpm /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install libreoffice uses: awalsh128/cache-apt-pkgs-action@v1.6.0 @@ -171,7 +173,7 @@ jobs: - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install all dependencies and symlink for ep_etherpad-lite run: gnpm install --frozen-lockfile --runtimeVersion="${{ matrix.node }}" @@ -224,7 +226,7 @@ jobs: - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install dependencies run: gnpm install --runtimeVersion="${{ matrix.node }}" - name: Build admin ui diff --git a/.github/workflows/build-and-deploy-docs.yml b/.github/workflows/build-and-deploy-docs.yml index 8ff8435ae..cda6db08b 100644 --- a/.github/workflows/build-and-deploy-docs.yml +++ b/.github/workflows/build-and-deploy-docs.yml @@ -23,6 +23,9 @@ concurrency: group: "pages" cancel-in-progress: false +env: + GNPM_VERSION: 0.1.0 + jobs: # Single deploy job since we're just deploying deploy: @@ -41,14 +44,14 @@ jobs: ${{ env.STORE_PATH }} ~/.local/share/gnpm /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Setup Pages uses: actions/configure-pages@v5 - name: Install dependencies diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 743a9aa42..512170639 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -15,6 +15,9 @@ env: permissions: contents: read +env: + GNPM_VERSION: 0.1.0 + jobs: docker: runs-on: ubuntu-latest @@ -52,14 +55,14 @@ jobs: ${{ env.PNPM_HOME }} ~/.local/share/gnpm /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Test working-directory: etherpad diff --git a/.github/workflows/frontend-admin-tests.yml b/.github/workflows/frontend-admin-tests.yml index e65c8600c..7dc865dd2 100644 --- a/.github/workflows/frontend-admin-tests.yml +++ b/.github/workflows/frontend-admin-tests.yml @@ -9,6 +9,10 @@ on: permissions: contents: read # to fetch code (actions/checkout) + +env: + GNPM_VERSION: 0.1.0 + jobs: withplugins: env: @@ -39,14 +43,14 @@ jobs: ${{ env.PNPM_HOME }} ~/.local/share/gnpm /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Cache playwright binaries uses: actions/cache@v4 id: playwright-cache diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index eec808de8..39a7f555d 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -9,6 +9,9 @@ on: permissions: contents: read # to fetch code (actions/checkout) +env: + GNPM_VERSION: 0.1.0 + jobs: playwright-chrome: env: @@ -34,14 +37,14 @@ jobs: ~/.cache/ms-playwright ~/.local/share/gnpm /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install all dependencies and symlink for ep_etherpad-lite run: gnpm install --frozen-lockfile @@ -97,14 +100,14 @@ jobs: ~/.local/share/gnpm ~/.cache/ms-playwright /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install all dependencies and symlink for ep_etherpad-lite run: gnpm install --frozen-lockfile - name: export GIT_HASH to env @@ -159,13 +162,13 @@ jobs: ~/.local/share/gnpm ~/.cache/ms-playwright /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install all dependencies and symlink for ep_etherpad-lite run: gnpm install --frozen-lockfile diff --git a/.github/workflows/handleRelease.yml b/.github/workflows/handleRelease.yml index bc162819e..ad2440193 100644 --- a/.github/workflows/handleRelease.yml +++ b/.github/workflows/handleRelease.yml @@ -13,6 +13,7 @@ permissions: env: PNPM_HOME: ~/.pnpm-store + GNPM_VERSION: 0.1.0 jobs: create-release: @@ -37,14 +38,14 @@ jobs: ~/.local/share/gnpm ~/.cache/ms-playwright /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install all dependencies and symlink for ep_etherpad-lite run: gnpm install --frozen-lockfile - name: Build etherpad diff --git a/.github/workflows/load-test.yml b/.github/workflows/load-test.yml index 67101f3e1..ce0ff1a56 100644 --- a/.github/workflows/load-test.yml +++ b/.github/workflows/load-test.yml @@ -15,6 +15,7 @@ permissions: env: PNPM_HOME: ~/.pnpm-store LOG_LEVEL: DEBUG + GNPM_VERSION: 0.1.0 jobs: withoutplugins: @@ -38,14 +39,14 @@ jobs: ~/.local/share/gnpm ~/.cache/ms-playwright /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install all dependencies and symlink for ep_etherpad-lite run: gnpm install --frozen-lockfile @@ -81,14 +82,14 @@ jobs: ~/.local/share/gnpm ~/.cache/ms-playwright /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install etherpad-load-test run: sudo npm install -g etherpad-load-test-socket-io @@ -149,14 +150,14 @@ jobs: ~/.local/share/gnpm ~/.cache/ms-playwright /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install all dependencies and symlink for ep_etherpad-lite run: gnpm install --frozen-lockfile diff --git a/.github/workflows/perform-type-check.yml b/.github/workflows/perform-type-check.yml index 368e0eda6..34c9eac65 100644 --- a/.github/workflows/perform-type-check.yml +++ b/.github/workflows/perform-type-check.yml @@ -14,6 +14,7 @@ permissions: env: PNPM_HOME: ~/.pnpm-store + GNPM_VERSION: 0.1.0 jobs: performTypeCheck: @@ -34,14 +35,14 @@ jobs: ~/.local/share/gnpm ~/.cache/ms-playwright /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install all dependencies and symlink for ep_etherpad-lite run: gnpm install --frozen-lockfile diff --git a/.github/workflows/rate-limit.yml b/.github/workflows/rate-limit.yml index 31f232ec7..c57cf2ff1 100644 --- a/.github/workflows/rate-limit.yml +++ b/.github/workflows/rate-limit.yml @@ -14,6 +14,7 @@ permissions: env: PNPM_HOME: ~/.pnpm-store + GNPM_VERSION: 0.1.0 jobs: ratelimit: @@ -37,14 +38,14 @@ jobs: ~/.local/share/gnpm ~/.cache/ms-playwright /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: docker network diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b011aafc..352ff4dd2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,7 @@ on: env: PNPM_HOME: ~/.pnpm-store + GNPM_VERSION: 0.1.0 jobs: releases: @@ -56,14 +57,14 @@ jobs: ~/.local/share/gnpm ~/.cache/ms-playwright /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install dependencies ether.github.com run: gnpm install --frozen-lockfile working-directory: ether.github.com diff --git a/.github/workflows/releaseEtherpad.yml b/.github/workflows/releaseEtherpad.yml index 88857a287..1f4e56213 100644 --- a/.github/workflows/releaseEtherpad.yml +++ b/.github/workflows/releaseEtherpad.yml @@ -6,6 +6,7 @@ on: env: PNPM_HOME: ~/.pnpm-store + GNPM_VERSION: 0.1.0 jobs: release: @@ -25,14 +26,14 @@ jobs: ${{ env.STORE_PATH }} ~/.local/share/gnpm /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install dependencies run: gnpm install --frozen-lockfile - name: Rename etherpad diff --git a/.github/workflows/upgrade-from-latest-release.yml b/.github/workflows/upgrade-from-latest-release.yml index ad47fd1bd..f7b719841 100644 --- a/.github/workflows/upgrade-from-latest-release.yml +++ b/.github/workflows/upgrade-from-latest-release.yml @@ -14,6 +14,7 @@ permissions: env: PNPM_HOME: ~/.pnpm-store + GNPM_VERSION: 0.1.0 jobs: withpluginsLinux: @@ -43,14 +44,14 @@ jobs: ~/.local/share/gnpm ~/.cache/ms-playwright /usr/local/bin/gnpm - /usr/local/bin/gnpm-0.0.12 + /usr/local/bin/gnpm-$GNPM_VERSION key: ${{ runner.os }}-gnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-gnpm-store- - name: Setup gnpm uses: SamTV12345/gnpm-setup@main with: - version: 0.0.12 + version: $GNPM_VERSION - name: Install libreoffice uses: awalsh128/cache-apt-pkgs-action@v1.6.0 with: