From 25fb3c0fe0ddb7360071324ad97829a7ad9d04c5 Mon Sep 17 00:00:00 2001 From: Scott Newcomer Date: Fri, 28 Aug 2020 15:20:08 -0700 Subject: [PATCH] CI: add timeout to yarn install --- .github/workflows/main.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c4529ce44fc..3df306f0006 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -74,7 +74,7 @@ jobs: with: node-version: 12.x - name: Install dependencies - run: yarn install + run: yarn install --frozen-lockfile --network-timeout=300000 - name: Launcher Info run: | yarn run testem launchers @@ -136,7 +136,7 @@ jobs: with: node-version: 12.x - name: Install dependencies - run: yarn install + run: yarn install --frozen-lockfile --network-timeout=300000 - name: Fastboot Test ${{ matrix.scenario }} timeout-minutes: 6 run: yarn test:fastboot ${{ matrix.scenario }} @@ -159,6 +159,10 @@ jobs: launcher: Firefox - os: windows-latest launcher: Firefox + - os: macos-latest + launcher: Chrome + - os: windows-latest + launcher: Chrome runs-on: ${{ matrix.os }} name: ${{matrix.scenario}} ${{matrix.launcher}} on ${{matrix.os}} steps: @@ -167,7 +171,7 @@ jobs: with: node-version: 12.x - name: Install dependencies - run: yarn install --frozen-lockfile + run: yarn install --frozen-lockfile --network-timeout=300000 - name: Launcher Info run: | yarn run testem launchers @@ -259,7 +263,7 @@ jobs: with: node-version: 12.x - name: Install dependencies - run: yarn install + run: yarn install --frozen-lockfile --network-timeout=300000 - name: Basic tests with ${{ matrix.scenario }} env: CI: true