Improve Github Action Workflow
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- github-actions, node.js
- Lĩnh vực
- build-system, ci-cd, devops
Hướng nghiên cứu
Mở .github/workflows/checks.yml và so sánh các mục chưa được đánh dấu với workflow hiện có trên branch develop. Xác minh mối quan hệ giữa các job test và build, cập nhật các mục còn lại về lệnh và cách đặt tên, thêm các chú thích header được yêu cầu, và xác nhận rằng cấu hình workflow hợp lệ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
@danielfdsilva spent time in #24 improving the GitHub workflow.
To keep our git history clean and make reviews easier, we should extract the workflow improvements into their own PR, based on the develop branch.
GitHub Actions Workflow Updates (.github/workflows/checks.yml)
- Add descriptive header comments explaining the workflow purpose
- Update trigger conditions:
- Remove
pushtrigger onmainbranch - Update
pull_requesttypes to:opened,synchronize,reopened,ready_for_review - Add concurrency controls to cancel in-progress runs for the same ref
- Remove
- Update Node.js version strategy:
- Remove hardcoded
NODEenvironment variable - Use
node-version-file: '.nvmrc'to read version from.nvmrcfile
- Remove hardcoded
- Update GitHub Actions to latest versions:
actions/checkout@v2→actions/checkout@v4actions/setup-node@v1→actions/setup-node@v4actions/cache@v2→actions/cache@v4- Remove deprecated
styfle/cancel-workflow-action(replaced by concurrency)
- Simplify cache key:
- Remove
cache-nameenvironment variable - Use
${{ runner.os }}-build-${{ hashFiles('**/package.json') }}
- Remove
- Update job commands:
- Use explicit
yarn run lintinstead ofyarn lint - Use explicit
yarn run testinstead ofyarn test - Use explicit
yarn run buildinstead ofyarn build - Fix build job step name: "Test" → "Build"
- Use explicit
- Ensure
buildjob depends ontestjob (not changed, but verify)
References
- Original PR: #24
- Target branch:
develop
Notes
This is purely infrastructure/tooling changes with no functional code changes to the library itself.
- Ngôn ngữ chính
- TypeScript
- Star
- 34
- Fork
- 4
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 developmentseed/stac-react
-
Move to NPM trusted publishingĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Add Flexible Search HookĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
-
Add Child Resource NavigationĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Add File Upload SupportĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
Tất cả issue của developmentseed/stac-react
Issue tương tự
-
fix(data-lake): wizard source step still previews the local slug, not the server-disambiguated oneĐang mởdata-lake
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue priority: low size: XS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Empty label or headline exports the editor hint ("LABEL" / "Headline goes here") into the PNGĐang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Spray wall wizard: Done button on the hold review step sits under the navigation header (iOS)Đang mởbug ios mobile priority:P1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
streamplace/streamplace#1351 ·
Maintainer thường phản hồi trong vòng 2 ngày