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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout full history
|
- name: Checkout full history
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
with:
|
git init -q .
|
||||||
fetch-depth: 0
|
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
|
- name: Verify Node.js runtime
|
||||||
uses: actions/setup-node@v4
|
run: |
|
||||||
with:
|
node --version
|
||||||
node-version: '20'
|
npm --version
|
||||||
|
node -e "if (Number(process.versions.node.split('.')[0]) < 20) process.exit(1)"
|
||||||
|
|
||||||
- name: Run regression tests
|
- name: Run regression tests
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|||||||
正在加载...
x
在新工单中引用
屏蔽一个用户