From be094b8886b64c7a6f7c5777381823c619848a79 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 885469e6be42..d84ca7a1bd88 100644 --- a/.github/workflows/prod-test.yml +++ b/.github/workflows/prod-test.yml @@ -124,48 +124,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