From 8a173367dc8bde9eaaa46655c1630a9750e5c2e2 Mon Sep 17 00:00:00 2001 From: Fernando Dodino Date: Sun, 22 Oct 2023 22:44:15 -0300 Subject: [PATCH] Back to 3 os and avoid using ubuntu for e2e tests --- .github/workflows/node.js.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 71361abb..d0cf3856 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - os: [ubuntu-latest] # [windows-latest, ubuntu-latest, macos-latest] + os: [windows-latest, ubuntu-latest, macos-latest] node-version: [lts/gallium] steps: @@ -27,12 +27,11 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm install - run: npm run compile - # - name: Run headless test - # uses: smithki/xvfb-action@v1.1.2 - # with: - # run: npm run test:e2e - # options: --disable-features=NetworkService --disable-gpu - - run: npm test + - name: Run headless test + if: matrix.os != 'ubuntu-latest' # we need to fix ubuntu-latest first + uses: smithki/xvfb-action@v1.1.2 + with: + run: npm run test:e2e - name: Unit Tests run: npm run test:unit # - name: Contribute List