Migrate CI setup to pnpm/setup
Maintainer thường phản hồi trong vòng 2 ngày
@EhabY đang làm issue này rồi.
Từ ngày 18/9/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
.github/actions/setup/action.yml pins three things to get a build environment: pnpm/action-setup for pnpm, actions/setup-node for Node 22, and a pnpm install --frozen-lockfile step. pnpm's continuous integration docs now recommend a single action instead:
- uses: pnpm/setup@<sha> # v2.1.0
with:
runtime: node@22
cache: true
pnpm/setup installs pnpm, installs the runtime with pnpm runtime set and puts it on PATH (replacing actions/setup-node), caches the pnpm store, and runs pnpm install unless you pass install: false. Two pinned actions and an install step collapse into one.
Check before switching
- Store cache. #1110 moved the store cache to
pnpm/action-setup'scache: true, which keys onpnpm-cache-<os>-<arch>-<lockfile hash>and falls back to the last store for the platform, so a dependency bump fetches only what changed. Confirmpnpm/setupkeeps that fallback; without it every bump refetches the whole store. - Frozen installs. Its automatic
pnpm installmust stay frozen in CI, as--frozen-lockfiledoes today.require-lockfilelooks related. - Windows on ARM64. The
windows-11-armjob needspnpm runtime setto fetch awin32-arm64Node build. - Node version. CI runs Node 22 to match VS Code's Electron, and
engines.nodeis>= 22.runtime: node@22has to hold that, and CONTRIBUTING's list of files to update when the minimum moves needs this one added.
Baseline
Times from the run on #1110, for comparison after the switch:
| Job | Setup step, cold store |
|---|---|
| Unit Test (Linux) | 14s |
| Unit Test (Windows) | 69s |
| Unit Test (Windows ARM64) | 2m31s |
Pin by SHA, like the other actions. Latest release is v2.1.0.
- Ngôn ngữ chính
- TypeScript
- Star
- 131
- Fork
- 48
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 16
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của coder/vscode-coder
-
Design the VS Code Workspaces panelCó thể đã có người làm @chrifro đã nhận 19 ngày trước. Đang mở
coder/vscode-coder#1113 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Flush the connection log buffer after N failed reconnect attempts against an unreachable serverĐang mởenhancement tech-debt
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
coder/vscode-coder#1112 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug upstream
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
coder/vscode-coder#1087 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Improvement tech-debt vs-code
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
coder/vscode-coder#1066 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Report the actual IDE (Cursor, Devin Desktop, ...) for session trackingCó thể làm lại được @EhabY đã nhận 73 ngày trước và không có pull request nào đang mở. Đang mởFeature vs-code
coder/vscode-coder#1044 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của coder/vscode-coder
Issue tương tự
-
failed-test failure:ai-fixable failure:test-needs-update Team:One Workflow
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
elastic/kibana#295360 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ehmpathy/rhachet-roles-bhrain#586 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
OHDSI/Data2Evidence#3496 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
apache/rocketmq-dashboard#5594 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
react-doctor severity:warning tech-debt
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
digidem/comapeo-cloud-app#418 ·
Maintainer thường phản hồi trong vòng 1 ngày