From e15187c9410331f60eeda2f7802c7b49cdfecf3d Mon Sep 17 00:00:00 2001 From: "Misha M.-Kupriyanov" Date: Fri, 14 Feb 2025 13:31:13 +0100 Subject: [PATCH 1/3] IONOS(build): npm audit only on ionos-dev we want to audit only current branches Signed-off-by: Misha M.-Kupriyanov --- .github/workflows/npm-audit-fix.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-audit-fix.yml b/.github/workflows/npm-audit-fix.yml index 0e7ba4b5d..de184aec2 100644 --- a/.github/workflows/npm-audit-fix.yml +++ b/.github/workflows/npm-audit-fix.yml @@ -21,7 +21,8 @@ jobs: strategy: fail-fast: false matrix: - branches: ['main', 'master', 'stable29', 'stable28', 'stable27'] +# branches: ['main', 'master', 'stable29', 'stable28', 'stable27'] + branches: ['ionos-dev'] name: npm-audit-fix-${{ matrix.branches }} From 6f6d951ea4461bbfb4c57097431f43f8da133c55 Mon Sep 17 00:00:00 2001 From: "Misha M.-Kupriyanov" Date: Fri, 14 Feb 2025 13:32:39 +0100 Subject: [PATCH 2/3] IONOS(build): npm cypress-snapshot only on ionos-dev branch we want to work only current branches Signed-off-by: Misha M.-Kupriyanov --- .github/workflows/cypress-snapshot-update.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cypress-snapshot-update.yml b/.github/workflows/cypress-snapshot-update.yml index 6e7600d19..4d47b5027 100644 --- a/.github/workflows/cypress-snapshot-update.yml +++ b/.github/workflows/cypress-snapshot-update.yml @@ -13,8 +13,9 @@ jobs: strategy: fail-fast: false matrix: - branches: ["main", "master", "stable27", "stable26"] - +# branches: ["main", "master", "stable27", "stable26"] + branches: ["ionos-dev"] + name: cypress-snapshot-update-${{ matrix.branches }} steps: From 18085ba2c5df7fed24ccd49c5df0540242816d2d Mon Sep 17 00:00:00 2001 From: "Misha M.-Kupriyanov" Date: Fri, 14 Feb 2025 13:46:37 +0100 Subject: [PATCH 3/3] IONOS(build): install original packages for cypress-snapshot job currently packages @mdi/svg @nextcloud/vue vue-material-design-icons are customized by as. In order for cypress job to finish we replace the packages with original ones from stable30 https://github.com/nextcloud/viewer/blob/stable30/package.json Signed-off-by: Misha M.-Kupriyanov --- .github/workflows/cypress-snapshot-update.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cypress-snapshot-update.yml b/.github/workflows/cypress-snapshot-update.yml index 4d47b5027..e47722242 100644 --- a/.github/workflows/cypress-snapshot-update.yml +++ b/.github/workflows/cypress-snapshot-update.yml @@ -39,6 +39,11 @@ jobs: - name: Set up npm ${{ steps.versions.outputs.npmVersion }} run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}" + - name: Install IONOS dependencies + run: | + echo "install dependencies from stable30 as fallback" \ + npm install @mdi/svg@^7.4.47 @nextcloud/vue@^8.22.0 vue-material-design-icons@^5.3.1 + - name: Install dependencies run: npm ci