From a1bf10e14cea38d6472e02aae0804cd1a8883813 Mon Sep 17 00:00:00 2001 From: BipanKishore Date: Sun, 12 May 2024 20:10:41 +0530 Subject: [PATCH] os: [windows-latest, ubuntu-latest] --- .github/workflows/build.yml | 4 +++- .github/workflows/cypress.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cbf92e0..92c20be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,11 +6,13 @@ on: jobs: build: - runs-on: ubuntu-latest strategy: matrix: node-version: [20.x] + os: [windows-latest, ubuntu-latest] + + runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index fcdf765..842c8c9 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -6,7 +6,7 @@ on: jobs: cypress-run: - runs-on: windows-latest + runs-on: ubuntu-latest # Runs tests in parallel with matrix strategy https://docs.cypress.io/guides/guides/parallelization # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs # Also see warning here https://github.com/cypress-io/github-action#parallel