chore: 清理 CI 配置,移除不必要的 .npmrc 修改步骤
This commit is contained in:
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -13,12 +13,6 @@ jobs:
|
|||||||
- run: pnpm run build-only # 先 build,保证 components.d.ts 存在
|
- run: pnpm run build-only # 先 build,保证 components.d.ts 存在
|
||||||
- run: pnpm run type-check
|
- run: pnpm run type-check
|
||||||
|
|
||||||
- run: cat .npmrc
|
|
||||||
- name: 修改 .npmrc
|
|
||||||
run: |
|
|
||||||
sed -i '/use-node-version/d' .npmrc;
|
|
||||||
sed -i '/node-mirror/d' .npmrc;
|
|
||||||
|
|
||||||
# https://github.com/vercel/examples/tree/main/ci-cd/github-actions
|
# https://github.com/vercel/examples/tree/main/ci-cd/github-actions
|
||||||
# cname-cn.vercel.com cname-china.vercel-dns.com
|
# cname-cn.vercel.com cname-china.vercel-dns.com
|
||||||
- name: 拉取 Vercel 环境信息
|
- name: 拉取 Vercel 环境信息
|
||||||
|
Reference in New Issue
Block a user