diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 080232cc..9dd65ddd 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 }} @@ -30,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