Merge pull request #3896 from element-hq/toger5/bump-pnpm-to-v10

post pnpm transition work
This commit is contained in:
Timo
2026-04-22 01:01:58 +08:00
committed by GitHub
26 changed files with 215 additions and 110 deletions

View File

@@ -43,7 +43,8 @@ jobs:
cache: "pnpm"
node-version-file: ".node-version"
- name: Install dependencies
run: "pnpm install --frozen-lockfile"
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
run: "pnpm install --frozen-lockfile --ignore-pnpmfile"
- name: Build Element Call
run: pnpm run build:"$PACKAGE":"$BUILD_MODE"
env:

View File

@@ -18,7 +18,8 @@ jobs:
cache: "pnpm"
node-version-file: ".node-version"
- name: Install dependencies
run: "pnpm install --frozen-lockfile"
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
run: "pnpm install --frozen-lockfile --ignore-pnpmfile"
- name: Prettier
run: "pnpm run prettier:check"
- name: i18n

View File

@@ -20,7 +20,8 @@ jobs:
cache: "pnpm"
node-version-file: ".node-version"
- name: Install dependencies
run: "pnpm install --frozen-lockfile"
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
run: "pnpm install --frozen-lockfile --ignore-pnpmfile"
- name: Vitest
run: "pnpm run test:coverage"
- name: Upload to codecov
@@ -45,7 +46,8 @@ jobs:
cache: "pnpm"
node-version-file: ".node-version"
- name: Install dependencies
run: pnpm install --frozen-lockfile
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
run: pnpm install --frozen-lockfile --ignore-pnpmfile
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run backend components

View File

@@ -26,7 +26,8 @@ jobs:
node-version-file: ".node-version"
- name: Install Deps
run: "pnpm install --frozen-lockfile"
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
run: "pnpm install --frozen-lockfile --ignore-pnpmfile"
- name: Prune i18n
run: "rm -R locales"