RepositoryJavaScriptUSHoa Kỳ
cypress-io

cypress-io/github-action

GitHub Action for running Cypress end-to-end & component tests

1.5ksao
355fork
34issue
5lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: cypress

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: cypress-io

#1 Repository của tháng

2
TINIX TRENDING·Chủ đề: github-actions

#2 Repository của tháng

🚀 GitHub Action chạy Cypress tests trên GitHub Actions

Một dòng workflow, tất cả từ cài đặt tới chạy test, kể cả E2E và component testing.

cypress-io/github-action là GitHub Action chíng thức từ Cypress, giúp bạn chạy End-to-End và Component tests trực tiếp trong các workflow CI trên GitHub Actions. Ngoài chạy test, action này còn tự động cài đặt dependency, cache, build app, start server và ghi nhận kết quả lên Cypress Cloud.

✨ Điểm nổi bật

  • Single-line call: Cài đặt dependency và chạy Cypress chỉ bằng một dòng trong workflow.
  • Build app & Start server: Hỗ trợ build ứng dụng, khởi động server và chờ server sẵn sàng trước khi chạy test.
  • CLI options: Hỗ trợ đầy đủ các tùy chọn dòng lệnh của cypress run, được liệt kê dọc dẫy ngắn gọn trong workflow.
  • Dependency installation: Tự động cài đặt dựa trên lock file của npm, pnpm và Yarn Classic.
  • Caching: Cache Cypress binary và dependency cho npm và Yarn để giảm tải về mạng.
  • Job summary: Hiển thị tóm tắt kết quả test nhanh chóng trong giao diện GitHub Actions.
  • Docker compatibility: Hỗ trợ chạy trong môi trường Docker, giảm phụ thuộc vào phiên bản runner image.
  • Cypress Cloud recording: Ghi nhận kết quả test lên Cypress Cloud, bao gồm cả tính năng parallel execution.

💡 Vì sao đáng chú ý

Thay vì phải viết nhiều bước cài đặt, cấu hình môi trường và khởi động server thủ công, cypress-io/github-action tập hợp mọi thứ thành một action duy nhất — tiết kiệm thời gian và giảm lỗi cấu hình. Đặc biệt hữu ích với các dự án cần chạy test tự động trong CI/CD mà không muốn quản lý môi trường chạy test phức tạp.


#Cypress #GitHubActions #EndToEndTesting #ComponentTesting #CI-CD #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryJavaScript
mxschmitt/action-tmate

Debug your GitHub Actions via SSH by using tmate to get access to the runner system itself.

3.6k
Nov 6, 2026
RepositoryJavaScript
abramenal/cypress-file-upload

File upload testing made easy

493
May 30, 2023
RepositoryJavaScript
meinaart/cypress-plugin-snapshots

Plugin for snapshot tests in Cypress.io

493
Sep 16, 2026
RepositoryJavaScript
bahmutov/cypress-failed-log

Saves the Cypress test command log as a JSON file if a test fails

195
Jun 6, 2026
RepositoryJavaScript
LironEr/cypress-mochawesome-reporter

Zero config Mochawesome reporter for Cypress with screenshots and videos

185
Oct 2, 2026
RepositoryShell
P3TERX/Actions-OpenWrt

A template for building OpenWrt with GitHub Actions | 使用 GitHub Actions 在线云编译 OpenWrt 固件

7.6k
Mar 2, 2024
RepositoryGo
github/gh-aw

GitHub Agentic Workflows

5.7k
Nov 26, 2026
RepositoryTypeScript
peaceiris/actions-gh-pages

GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.

5.4k
Nov 28, 2026
RepositoryGo
rhysd/actionlint

:octocat: Static checker for GitHub Actions workflow files

4.5k
Jul 16, 2026