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"