From 4475247cd2ad2f57c06f15421e34a3b316ec68e8 Mon Sep 17 00:00:00 2001 From: Sebastian Rettig Date: Wed, 4 Dec 2019 20:48:38 +0100 Subject: [PATCH] corrected use of puppeteer container --- .github/workflows/nodejs.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 767f8da99..97e10e62c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -14,11 +14,6 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Puppeteer action - if: matrix.os == 'ubuntu-latest' - uses: ianwalter/puppeteer@v2.0.0 - with: - args: npm - name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }} uses: actions/setup-node@v1 with: @@ -45,7 +40,13 @@ jobs: run: npm run test - name: integration-tests run: npm run test:integration - - name: player-e2e-test - run: npm run test:e2e:player + - name: Linux player-e2e-test + if: matrix.os == 'ubuntu-latest' + uses: ianwalter/puppeteer@v2.0.0 + with: + args: npm run test:e2e:player + - name: Windows + MacOs player-e2e-test + if: matrix.os != 'ubuntu-latest' + run: npm run test:e2e:player env: CI: true