Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/appium_Android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,15 @@ jobs:

strategy:
matrix:
node-version: [20.x]
test-suite: ['other', 'quick']

steps:
- uses: actions/checkout@v6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: .nvmrc

- run: npm i
env:
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/doc-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,14 @@ jobs:
update-documentation:
runs-on: ubuntu-22.04

strategy:
matrix:
node-version: [20.x]

steps:
- name: Check out the repo
uses: actions/checkout@v6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: .nvmrc

- name: Install Dependencies
run: npm i --force
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/dtslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@ concurrency:
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: .nvmrc
- run: npm i --force
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: .nvmrc
- uses: shivammathur/setup-php@v2
with:
php-version: 7.4
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,12 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 20

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: .nvmrc
- uses: shivammathur/setup-php@v2
with:
php-version: 7.4
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/puppeteer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,12 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 25

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: .nvmrc
- uses: shivammathur/setup-php@v2
with:
php-version: 7.4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sharding-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v6
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: .nvmrc

- name: Install dependencies
run: npm install --ignore-scripts
Expand Down
20 changes: 6 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,12 @@ jobs:
runs-on: windows-latest
timeout-minutes: 15

strategy:
matrix:
node-version: [ 20.x ]

steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: .nvmrc
- run: npm i
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
Expand All @@ -79,16 +75,12 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 15

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: .nvmrc
- run: npm i
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/webdriver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,14 @@ jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 25
strategy:
matrix:
node-version: [20.x]

steps:
- run: docker run -d --net=host --shm-size=2g selenium/standalone-chrome:4.27
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: .nvmrc
- uses: shivammathur/setup-php@v2
with:
php-version: 8.0
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.19.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Later you can even automagically update Type Definitions to include your own cus

Note:

- CodeceptJS requires Node.js version `12+` or later.
- CodeceptJS requires Node.js version `20.19+` or later.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ Storage capture is **enabled** for `run_code`, `snapshot`, `run_step_by_step` fa

### Server doesn't start

- Node 18+ recommended.
- Node 20.19+ required.
- Verify the path / `npx` resolution in your client config.

### Config not found
Expand Down
4 changes: 2 additions & 2 deletions docs/migration-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The rest of this guide documents every change the skill makes — read it if you

## 1. Update Node and Package

CodeceptJS 4.x supports Node 16+, but Node 20 or newer is recommended.
CodeceptJS 4.x requires Node 20.19 or newer.

```bash
npm install codeceptjs@4
Expand Down Expand Up @@ -764,4 +764,4 @@ You don't need these to upgrade, but they unlock new workflows:
4. TypeScript users: run with `tsx` installed and confirm error stack traces point at `.ts` files.
5. If you removed `autoLogin`: confirm sessions restore under the `auth` plugin.
6. If you used `tryTo` / `retryTo` / `eachElement` plugins: grep your tests for the old globals and switch to subpath imports.
7. CI: bump the Node version to 20+ if you were on 18 or below.
7. CI: bump the Node version to 20.19+ if you were on a lower version.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@
"mocha": "11.7.5",
"monocart-coverage-reports": "2.12.9",
"ms": "2.1.3",
"multer": "^2.0.2",
"multer": "^2.1.1",
"ora-classic": "5.4.2",
"parse-function": "5.6.10",
"parse5": "7.3.0",
"promise-retry": "1.1.1",
"sprintf-js": "1.1.3",
"uuid": "11.1.0",
"uuid": "11.1.1",
"xpath": "0.0.34",
"zod": "^4.1.11"
},
Expand Down Expand Up @@ -206,7 +206,7 @@
}
},
"engines": {
"node": ">=16.0",
"node": ">=20.19.0",
"npm": ">=5.6.0"
},
"es6": true,
Expand All @@ -217,7 +217,7 @@
}
},
"overrides": {
"tmp": "0.2.5",
"tmp": "0.2.6",
"js-yaml": "^4.1.1"
}
}
Loading