diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 88cbcf30..b170cb2e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,12 +9,10 @@ on: jobs: build: + runs-on: ubuntu-latest strategy: matrix: - os: [ ubuntu-latest, windows-latest ] - node-version: [ 18.x, 20.x ] - - runs-on: ${{ matrix.os }} + node-version: [ 18.x, 20.x, 22.x ] steps: - uses: actions/checkout@v4 @@ -39,8 +37,8 @@ jobs: - name: GitHub Pages uses: JamesIves/github-pages-deploy-action@v4.6.9 - if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x' && github.ref == 'refs/heads/main' + if: matrix.node-version == '22.x' && github.ref == 'refs/heads/main' with: - BRANCH: gh-pages - FOLDER: target/site/serenity - CLEAN: true + branch: gh-pages + folder: target/site/serenity + clean: true diff --git a/package.json b/package.json index bd2e13c3..09929be2 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ }, "homepage": "https://serenity-js.org", "engines": { - "node": "^18.12 || ^20 || ^22.0.0" + "node": "^18.12 || ^20 || ^22" }, "devDependencies": { "@cucumber/cucumber": "^11.1.0",