From 3c703a2560ad61ca0b2e841721fd27dce7cb83f5 Mon Sep 17 00:00:00 2001 From: Jan Molak <1089173+jan-molak@users.noreply.github.com> Date: Sat, 11 Nov 2023 21:56:33 +0000 Subject: [PATCH 1/2] Attempting to reproduce serenity-js/serenity-js#2060 --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 080232cc..623361fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,11 +9,13 @@ on: jobs: build: - runs-on: ubuntu-latest strategy: matrix: + os: [ ubuntu-latest, windows-latest ] node-version: [ 18.x, 20.x ] + runs-on: ${{ matrix.os }} + steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} From 5cc6085606dfd05a0d9b0d9e68885abbd3ab675e Mon Sep 17 00:00:00 2001 From: Jan Molak <1089173+jan-molak@users.noreply.github.com> Date: Sat, 11 Nov 2023 21:58:06 +0000 Subject: [PATCH 2/2] Publish reports to GitHub Pages --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 623361fa..9dd65ddd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: CI: true - name: GitHub Pages uses: JamesIves/github-pages-deploy-action@v4.4.3 - if: matrix.node-version == '18.x' && github.ref == 'refs/heads/main' + if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x' && github.ref == 'refs/heads/main' with: BRANCH: gh-pages FOLDER: target/site/serenity