浏览代码

set timeout

MarkusRost 4 年之前
父节点
当前提交
33f789b380
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/node.js.yml

+ 1 - 1
.github/workflows/node.js.yml

@@ -20,5 +20,5 @@ jobs:
     - run: npm run build --if-present
     - run: sed -i -e 's/"<Discord bot token>"/"${{secrets.DISCORD_TOKEN}}"/g' .env
     - run: sed -i -e 's/"!wiki "/"!test "/g' .env
-    - run: npm test
+    - run: npm test -- --timeout:60
       timeout-minutes: 5