From 8606b0d457ab3de02d6256f512148453952c9c3f Mon Sep 17 00:00:00 2001 From: Jan Molak <1089173+jan-molak@users.noreply.github.com> Date: Tue, 19 Nov 2024 22:38:49 +0000 Subject: [PATCH] chore(deps): support for Node 22 --- .github/workflows/main.yml | 14 ++++++-------- package.json | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) 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",