From f5124d11cff227df5025d151c26476512782b785 Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Fri, 10 Sep 2021 00:57:05 +0800 Subject: [PATCH] ci: Add timeout --- .github/workflows/node.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index f2fec68..7d0620f 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -13,6 +13,8 @@ jobs: format: runs-on: ubuntu-latest + timeout-minutes: 5 + strategy: matrix: node-version: [14.x] @@ -47,6 +49,8 @@ jobs: test: runs-on: ${{ matrix.os }} + timeout-minutes: 10 + strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest]