diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a4e1f611..edc2cc5d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [ 18.x, 20.x ] + node-version: [ 18.x, 20.x, 22.x ] steps: - uses: actions/checkout@v4 @@ -32,8 +32,8 @@ jobs: CI: true - name: GitHub Pages uses: JamesIves/github-pages-deploy-action@v4.6.9 - if: 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-lock.json b/package-lock.json index 87161dbc..a9a18904 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,7 @@ "typescript": "^5.6.3" }, "engines": { - "node": "^18.12 || ^20 || ^22.0.0" + "node": "^18.12 || ^20 || ^22" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 0fdfd6d1..f4f194bd 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ }, "homepage": "https://serenity-js.org", "engines": { - "node": "^18.12 || ^20 || ^22.0.0" + "node": "^18.12 || ^20 || ^22" }, "dependencies": { "@cucumber/cucumber": "^11.1.0",