Skip to content

Commit

Permalink
Merge pull request #280 from serenity-js/fix/windows
Browse files Browse the repository at this point in the history
Demonstrate support for Windows - serenity-js/serenity-js#2060
  • Loading branch information
jan-molak committed Nov 11, 2023
2 parents 3fdc2cd + 23fb946 commit 8bca28a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Expand Up @@ -9,19 +9,23 @@ 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 }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Setup Node Modules
- name: Install Node Modules
uses: bahmutov/npm-install@v1
with:
install-command: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- run: npm run lint
Expand All @@ -31,7 +35,7 @@ jobs:

- 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
Expand Down

0 comments on commit 8bca28a

Please sign in to comment.