From 196937ffeb9c0ebdc78f367a5ccf5dd61ed12ea0 Mon Sep 17 00:00:00 2001 From: Timo K Date: Tue, 21 Apr 2026 10:42:46 +0200 Subject: [PATCH] update CI to ignore pnpmfile - This is save since we never run pnpmfiles in ci - We can still run it locally - pnpm will not crash if checksum is missing, wrong, or correct since it is ignoring it. --- .github/workflows/build-element-call.yaml | 4 +++- .github/workflows/lint.yaml | 4 +++- .github/workflows/test.yaml | 8 ++++++-- .github/workflows/translations-download.yaml | 4 +++- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-element-call.yaml b/.github/workflows/build-element-call.yaml index 190cdfdb..6110e70a 100644 --- a/.github/workflows/build-element-call.yaml +++ b/.github/workflows/build-element-call.yaml @@ -43,7 +43,9 @@ jobs: cache: "pnpm" node-version-file: ".node-version" - name: Install dependencies - run: "pnpm install --frozen-lockfile" + # ignore-pnpmfile will make CI never executes the pnpmfile.cjs. This is acceptable since only need it for local dev linking. + # renovate will remove a checksum in pnpm-lock.yaml. So without this every renovate PR will fail CI. + run: "pnpm install --frozen-lockfile --ignore-pnpmfile" - name: Build Element Call run: pnpm run build:"$PACKAGE":"$BUILD_MODE" env: diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 60b9095e..2d920e10 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -18,7 +18,9 @@ jobs: cache: "pnpm" node-version-file: ".node-version" - name: Install dependencies - run: "pnpm install --frozen-lockfile" + # ignore-pnpmfile will make CI never executes the pnpmfile.cjs. This is acceptable since only need it for local dev linking. + # renovate will remove a checksum in pnpm-lock.yaml. So without this every renovate PR will fail CI. + run: "pnpm install --frozen-lockfile --ignore-pnpmfile" - name: Prettier run: "pnpm run prettier:check" - name: i18n diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c436c5ee..cadfe332 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -20,7 +20,9 @@ jobs: cache: "pnpm" node-version-file: ".node-version" - name: Install dependencies - run: "pnpm install --frozen-lockfile" + # ignore-pnpmfile will make CI never executes the pnpmfile.cjs. This is acceptable since only need it for local dev linking. + # renovate will remove a checksum in pnpm-lock.yaml. So without this every renovate PR will fail CI. + run: "pnpm install --frozen-lockfile --ignore-pnpmfile" - name: Vitest run: "pnpm run test:coverage" - name: Upload to codecov @@ -45,7 +47,9 @@ jobs: cache: "pnpm" node-version-file: ".node-version" - name: Install dependencies - run: pnpm install --frozen-lockfile + # ignore-pnpmfile will make CI never executes the pnpmfile.cjs. This is acceptable since only need it for local dev linking. + # renovate will remove a checksum in pnpm-lock.yaml. So without this every renovate PR will fail CI. + run: pnpm install --frozen-lockfile --ignore-pnpmfile - name: Install Playwright Browsers run: pnpm exec playwright install --with-deps - name: Run backend components diff --git a/.github/workflows/translations-download.yaml b/.github/workflows/translations-download.yaml index 6339e378..15dc7bcc 100644 --- a/.github/workflows/translations-download.yaml +++ b/.github/workflows/translations-download.yaml @@ -26,7 +26,9 @@ jobs: node-version-file: ".node-version" - name: Install Deps - run: "pnpm install --frozen-lockfile" + # ignore-pnpmfile will make CI never executes the pnpmfile.cjs. This is acceptable since only need it for local dev linking. + # renovate will remove a checksum in pnpm-lock.yaml. So without this every renovate PR will fail CI. + run: "pnpm install --frozen-lockfile --ignore-pnpmfile" - name: Prune i18n run: "rm -R locales"