mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-18 18:59:23 +00:00
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.
This commit is contained in:
4
.github/workflows/build-element-call.yaml
vendored
4
.github/workflows/build-element-call.yaml
vendored
@@ -43,7 +43,9 @@ jobs:
|
|||||||
cache: "pnpm"
|
cache: "pnpm"
|
||||||
node-version-file: ".node-version"
|
node-version-file: ".node-version"
|
||||||
- name: Install dependencies
|
- 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
|
- name: Build Element Call
|
||||||
run: pnpm run build:"$PACKAGE":"$BUILD_MODE"
|
run: pnpm run build:"$PACKAGE":"$BUILD_MODE"
|
||||||
env:
|
env:
|
||||||
|
|||||||
4
.github/workflows/lint.yaml
vendored
4
.github/workflows/lint.yaml
vendored
@@ -18,7 +18,9 @@ jobs:
|
|||||||
cache: "pnpm"
|
cache: "pnpm"
|
||||||
node-version-file: ".node-version"
|
node-version-file: ".node-version"
|
||||||
- name: Install dependencies
|
- 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
|
- name: Prettier
|
||||||
run: "pnpm run prettier:check"
|
run: "pnpm run prettier:check"
|
||||||
- name: i18n
|
- name: i18n
|
||||||
|
|||||||
8
.github/workflows/test.yaml
vendored
8
.github/workflows/test.yaml
vendored
@@ -20,7 +20,9 @@ jobs:
|
|||||||
cache: "pnpm"
|
cache: "pnpm"
|
||||||
node-version-file: ".node-version"
|
node-version-file: ".node-version"
|
||||||
- name: Install dependencies
|
- 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
|
- name: Vitest
|
||||||
run: "pnpm run test:coverage"
|
run: "pnpm run test:coverage"
|
||||||
- name: Upload to codecov
|
- name: Upload to codecov
|
||||||
@@ -45,7 +47,9 @@ jobs:
|
|||||||
cache: "pnpm"
|
cache: "pnpm"
|
||||||
node-version-file: ".node-version"
|
node-version-file: ".node-version"
|
||||||
- name: Install dependencies
|
- 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
|
- name: Install Playwright Browsers
|
||||||
run: pnpm exec playwright install --with-deps
|
run: pnpm exec playwright install --with-deps
|
||||||
- name: Run backend components
|
- name: Run backend components
|
||||||
|
|||||||
4
.github/workflows/translations-download.yaml
vendored
4
.github/workflows/translations-download.yaml
vendored
@@ -26,7 +26,9 @@ jobs:
|
|||||||
node-version-file: ".node-version"
|
node-version-file: ".node-version"
|
||||||
|
|
||||||
- name: Install Deps
|
- 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
|
- name: Prune i18n
|
||||||
run: "rm -R locales"
|
run: "rm -R locales"
|
||||||
|
|||||||
Reference in New Issue
Block a user