Add a composite GitHub Action for the validator

Đang mở
#35 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, javascript
Lĩnh vực
ci-cd

Hướng nghiên cứu

Start with the validator command and its inputs, then read the repository README and .github/workflows/ci.yml to see how the valid and invalid examples are run. Add action.yml with the requested config, path and strict inputs, and wire the workflow to exercise the action on both examples. It is done when the action passes the valid example, fails the invalid one with the validator’s exit code, and the README shows a uses: block.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

ci enhancement wave

Context

Using the validator in CI means installing Node, checking out the repository and remembering the command. A small composite action makes the convention enforceable in one step.

Scope

  • action.yml
  • README.md
  • .github/workflows/ci.yml

Acceptance criteria

  • The action accepts config, path and strict inputs.
  • It runs the validator and exits with its code.
  • A workflow tests the action against the valid and invalid examples.
  • The README shows the uses: block.

Verification

gh workflow view ci

Complexity

Medium (4 hours)

Part of Stellar Wave. Comment to claim this issue before starting.

Ngôn ngữ chính
JavaScript
Star
0
Fork
1
Merge trung bình
14 giờ 38 phút
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codepacct/codepact-conventions

Tất cả issue của codepacct/codepact-conventions

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.