From fc5f5462eaa2cb4bec49e6fb44ba1c48b071afaf Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Sat, 18 Apr 2020 02:17:04 +0800 Subject: [PATCH] Simplify production tests (#8075) --- .github/workflows/prod-test.yml | 42 ++------------------------------- 1 file changed, 2 insertions(+), 40 deletions(-) diff --git a/.github/workflows/prod-test.yml b/.github/workflows/prod-test.yml index a485f7ac707c..af15c5d49f6c 100644 --- a/.github/workflows/prod-test.yml +++ b/.github/workflows/prod-test.yml @@ -107,48 +107,10 @@ jobs: if: matrix.os != 'macos-latest' run: yarn test:dist --maxWorkers=2 - standalone: - strategy: - fail-fast: false - matrix: - os: - - "ubuntu-latest" - - "macos-latest" - - "windows-latest" - node: - - "13" - - "12" - - "10" - exclude: - - os: "macos-latest" - node: "13" - name: Node.js ${{ matrix.node }} on ${{ matrix.os }} (standalone) - runs-on: ${{ matrix.os }} - needs: [build] - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 1 - - - name: Setup Node.js - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node }} - - - name: Install Dependencies - run: yarn install --frozen-lockfile - - - name: Download Artifact - uses: actions/download-artifact@v1 - with: - name: dist - path: dist - - - name: Run Tests (macOS) + - name: Run Tests (standalone) (macOS) if: matrix.os == 'macos-latest' run: yarn test:dist-standalone --maxWorkers=4 - - name: Run Tests (Linux and Windows) + - name: Run Tests (standalone) (Linux and Windows) if: matrix.os != 'macos-latest' run: yarn test:dist-standalone --maxWorkers=2