ant-design Use pkg.pr.new as the source of publish artifacts

eh57zj3b  于 2个月前  发布在  其他
关注(0)|答案(6)|浏览(41)
tez616oj

tez616oj1#

One of the source or single source of truth?

vecaoik1

vecaoik12#

I prefer single source of truth, that would simpify our workflow a lot.

fiei3ece

fiei3ece3#

Currently use OSS & github artifact is in case one of the network breaking. If use only one, I prefer github action instead of third part source.

b0zn9rqh

b0zn9rqh4#

We could switch to github action artifact easyly if pkg.pr.new is down someday.

mccptt67

mccptt675#

I understand that directly reusing pkg.pr.new can reduce the complexity of the workflow, but I am worried about whether relying on third-party packages will bring additional risks.

The artifact of pkg.pr.new is not a production promise. The npm-compatible registry is temporary which will be removed for days: e.g. https://pkg.pr.new/ant-design/ant-design/antd@50245

If we meet some release issue, we may not be able to get origin artifact of pkg.pr.new for debug.

My suggestion is add one source instead of single source of truth but still trade github as the truth source.

相关问题