小编cya*_*sin的帖子

所有 github 操作作业都已排队并且从不运行

更新:

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)

在此输入图像描述 在此输入图像描述

github github-actions

15
推荐指数
1
解决办法
2万
查看次数

如何在 TypeScript 中全局导入 Chai 'expect()' 函数?

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, …

types chai typescript tsconfig

6
推荐指数
1
解决办法
4137
查看次数

标签 统计

chai ×1

github ×1

github-actions ×1

tsconfig ×1

types ×1

typescript ×1