fix(workflow): 移除外部 Actions 仓库依赖 (#24)
所有检测均成功
changelog-filename-gate / validate (push) Successful in 1s
所有检测均成功
changelog-filename-gate / validate (push) Successful in 1s
这个提交包含在:
父节点
e5b0d7d7e7
当前提交
8d6c2f3375
@ -20,14 +20,20 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout full history
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
run: |
|
||||
git init -q .
|
||||
git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git"
|
||||
git fetch --no-tags --prune origin \
|
||||
"+refs/heads/*:refs/remotes/origin/*" \
|
||||
"+refs/pull/*/head:refs/remotes/pull/*/head" \
|
||||
"+refs/pull/*/merge:refs/remotes/pull/*/merge"
|
||||
git checkout --detach "$GITHUB_SHA"
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
- name: Verify Node.js runtime
|
||||
run: |
|
||||
node --version
|
||||
npm --version
|
||||
node -e "if (Number(process.versions.node.split('.')[0]) < 20) process.exit(1)"
|
||||
|
||||
- name: Run regression tests
|
||||
run: npm test
|
||||
|
||||
正在加载...
x
在新工单中引用
屏蔽一个用户