更新:
2-3 天后,我的作业自动失败,并显示以下错误消息。
面临的挑战是我的所有 GitHub Action 作业仍停留在排队状态并且无法执行。
为了排除故障,我在githubstatus.com上仔细监控了 GitHub Actions 的状态,但没有迹象表明系统停机或任何已知问题。
在广泛寻找解决方案的过程中,我遇到了一个解决类似问题链接的讨论线程。
然而,这个问题似乎更老,而且相当令人困惑,特别是考虑到 GitHub Actions 在其他存储库上正常运行。
这是我使用的 YAML 配置:
jobs:
never-running-job:
runs-on: node:16.13-alpine3.14
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: preinstall
run: yarn install
- name: build app
run: yarn run build
- name: test app
run: yarn run test
Run Code Online (Sandbox Code Playgroud)
Other related questions are just asked about JavaScript, but I know the Chai team already provided 'chai/register-expect', etc..
I was migrating from Jest to Chai, and when I used Jest it was done just by typing 'jest' to the "types" field in file tscofnig.json. Then the expect function was automatically referred to with @types/jest index.d.ts.
But @types/chai or Chai do not support this. And they recommend, before reporting an issue, to post on Stack Overflow. What on Earth, …