Skip to content

Commit

Permalink
chore(deps): support for Node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed Nov 19, 2024
1 parent 874cd35 commit 8606b0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8606b0d

Please sign in to comment.