From 1974fc951f5f303d6e0eef7fef39b8a19aa723e9 Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Mon, 26 Oct 2026 16:32:31 +0100 Subject: [PATCH 01/12] ci(tweak): centralize node version --- .github/workflows/appium_Android.yml | 7 +++++-- .github/workflows/appium_iOS.yml | 7 +++++-- .github/workflows/doc-generation.yml | 7 +++++-- .github/workflows/dtslint.yml | 7 +++++-- .github/workflows/lightpanda.yml | 7 +++++-- .github/workflows/moli.yml | 7 +++++-- .github/workflows/obscura.yml | 7 +++++-- .github/workflows/playwright.yml | 7 +++++-- .github/workflows/plugin.yml | 7 +++++-- .github/workflows/publish-beta.yml | 5 ++++- .github/workflows/puppeteer.yml | 7 +++++-- .github/workflows/sharding-demo.yml | 5 ++++- .github/workflows/test.yml | 20 +++++++++++--------- .github/workflows/webdriver.yml | 7 +++++-- .nvmrc | 1 + 15 files changed, 75 insertions(+), 33 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/appium_Android.yml b/.github/workflows/appium_Android.yml index e9347ebcd..59b0b8ace 100644 --- a/.github/workflows/appium_Android.yml +++ b/.github/workflows/appium_Android.yml @@ -34,10 +34,13 @@ jobs: steps: - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - run: npm i env: diff --git a/.github/workflows/appium_iOS.yml b/.github/workflows/appium_iOS.yml index d7f72bf42..5664f012d 100644 --- a/.github/workflows/appium_iOS.yml +++ b/.github/workflows/appium_iOS.yml @@ -29,10 +29,13 @@ jobs: steps: - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - run: npm i --force env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true diff --git a/.github/workflows/doc-generation.yml b/.github/workflows/doc-generation.yml index 0c8b799ed..7361c8c50 100644 --- a/.github/workflows/doc-generation.yml +++ b/.github/workflows/doc-generation.yml @@ -21,10 +21,13 @@ jobs: - name: Check out the repo uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - uses: oven-sh/setup-bun@v2 diff --git a/.github/workflows/dtslint.yml b/.github/workflows/dtslint.yml index e91612c29..0dc89d3d8 100644 --- a/.github/workflows/dtslint.yml +++ b/.github/workflows/dtslint.yml @@ -20,10 +20,13 @@ jobs: node-version: [22.x] steps: - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - uses: oven-sh/setup-bun@v2 - run: npm i --force env: diff --git a/.github/workflows/lightpanda.yml b/.github/workflows/lightpanda.yml index 834e9f5b5..68d5aa99f 100644 --- a/.github/workflows/lightpanda.yml +++ b/.github/workflows/lightpanda.yml @@ -33,10 +33,13 @@ jobs: - uses: actions/checkout@v6 with: persist-credentials: false - - name: Use Node.js ${{ matrix.node-version }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - uses: shivammathur/setup-php@v2 with: php-version: 8.0 diff --git a/.github/workflows/moli.yml b/.github/workflows/moli.yml index a2b442cf4..25ef95c89 100644 --- a/.github/workflows/moli.yml +++ b/.github/workflows/moli.yml @@ -34,10 +34,13 @@ jobs: - uses: actions/checkout@v6 with: persist-credentials: false - - name: Use Node.js ${{ matrix.node-version }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - uses: shivammathur/setup-php@v2 with: php-version: 8.0 diff --git a/.github/workflows/obscura.yml b/.github/workflows/obscura.yml index 739bb3ecc..8fb49d956 100644 --- a/.github/workflows/obscura.yml +++ b/.github/workflows/obscura.yml @@ -34,10 +34,13 @@ jobs: - uses: actions/checkout@v6 with: persist-credentials: false - - name: Use Node.js ${{ matrix.node-version }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - uses: shivammathur/setup-php@v2 with: php-version: 8.0 diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index baac5d71c..671d1345e 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -28,10 +28,13 @@ jobs: steps: - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - uses: shivammathur/setup-php@v2 with: php-version: 7.4 diff --git a/.github/workflows/plugin.yml b/.github/workflows/plugin.yml index 83eea7359..34b1247c8 100644 --- a/.github/workflows/plugin.yml +++ b/.github/workflows/plugin.yml @@ -28,10 +28,13 @@ jobs: steps: - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - uses: shivammathur/setup-php@v2 with: php-version: 7.4 diff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.yml index b4cdc69c6..d896b1a52 100644 --- a/.github/workflows/publish-beta.yml +++ b/.github/workflows/publish-beta.yml @@ -17,9 +17,12 @@ jobs: with: ref: ${{ github.event.release.target_commitish }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - uses: actions/setup-node@v6 with: - node-version: 24 + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} registry-url: 'https://registry.npmjs.org' - uses: oven-sh/setup-bun@v2 diff --git a/.github/workflows/puppeteer.yml b/.github/workflows/puppeteer.yml index 3f698e56f..c57a5aeac 100644 --- a/.github/workflows/puppeteer.yml +++ b/.github/workflows/puppeteer.yml @@ -28,10 +28,13 @@ jobs: steps: - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - uses: shivammathur/setup-php@v2 with: php-version: 7.4 diff --git a/.github/workflows/sharding-demo.yml b/.github/workflows/sharding-demo.yml index 7385fcb57..99b85e7cc 100644 --- a/.github/workflows/sharding-demo.yml +++ b/.github/workflows/sharding-demo.yml @@ -30,10 +30,13 @@ jobs: - name: Checkout uses: actions/checkout@v6 + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - name: Install dependencies run: npm install --ignore-scripts diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ab49db4cf..79f5b148d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,16 +18,15 @@ jobs: runs-on: ubuntu-22.04 timeout-minutes: 15 - strategy: - matrix: - node-version: [26.x] - steps: - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - run: npm i env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true @@ -60,14 +59,17 @@ jobs: strategy: matrix: - node-version: [ 22.x ] + node-version: [22.x] steps: - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - run: npm i env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true diff --git a/.github/workflows/webdriver.yml b/.github/workflows/webdriver.yml index 50e191277..c3ff16a23 100644 --- a/.github/workflows/webdriver.yml +++ b/.github/workflows/webdriver.yml @@ -28,10 +28,13 @@ jobs: 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 }} + - name: Read .nvmrc + id: nvmrc + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - name: Use Node.js from .nvmrc uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - uses: shivammathur/setup-php@v2 with: php-version: 8.0 diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..63f87c20e --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +26.12.1 From 8f4c7f9b26fb7ebf81d5a61342a813f9e6243dab Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Mon, 26 Oct 2026 17:13:47 +0100 Subject: [PATCH 02/12] fix: specify chrome versionn --- .github/workflows/puppeteer.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/puppeteer.yml b/.github/workflows/puppeteer.yml index c57a5aeac..86acd0e43 100644 --- a/.github/workflows/puppeteer.yml +++ b/.github/workflows/puppeteer.yml @@ -54,6 +54,8 @@ jobs: - name: start a server run: 'php -S 127.0.0.1:8000 -t test/data/app &' - uses: browser-actions/setup-chrome@v2 + with: + chrome-version: 144.0.7559.96 - run: chrome --version - name: run tests run: './bin/codecept.js run-workers 2 -c test/acceptance/codecept.Puppeteer.js --grep @Puppeteer --debug' From 214f6561a2829a76abf8636777f7e60c6872181c Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Mon, 26 Oct 2026 17:18:16 +0100 Subject: [PATCH 03/12] fix: specify chrome versionn --- .github/workflows/puppeteer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/puppeteer.yml b/.github/workflows/puppeteer.yml index 86acd0e43..d1055619e 100644 --- a/.github/workflows/puppeteer.yml +++ b/.github/workflows/puppeteer.yml @@ -40,7 +40,7 @@ jobs: php-version: 7.4 - name: npm install run: | - npm i --force && npm i puppeteer --force + npm i --force && npm i puppeteer --force && npx puppeteer browsers install chrome env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true - name: Start mock server From 87b3a7a58a299bc6ae95a45aa8d532ca315f763e Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Mon, 26 Oct 2026 17:21:53 +0100 Subject: [PATCH 04/12] fix: specify chrome versionn --- .github/workflows/puppeteer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/puppeteer.yml b/.github/workflows/puppeteer.yml index d1055619e..1dc2194aa 100644 --- a/.github/workflows/puppeteer.yml +++ b/.github/workflows/puppeteer.yml @@ -40,7 +40,7 @@ jobs: php-version: 7.4 - name: npm install run: | - npm i --force && npm i puppeteer --force && npx puppeteer browsers install chrome + npm i --force && npm i puppeteer --force && npx puppeteer install chrome env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true - name: Start mock server From abf40cfd4ad6a7c7b0d241ca79656f350a6323e6 Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Mon, 26 Oct 2026 17:25:14 +0100 Subject: [PATCH 05/12] fix: specify chrome versionn --- .github/workflows/puppeteer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/puppeteer.yml b/.github/workflows/puppeteer.yml index 1dc2194aa..f0c970c0f 100644 --- a/.github/workflows/puppeteer.yml +++ b/.github/workflows/puppeteer.yml @@ -40,7 +40,7 @@ jobs: php-version: 7.4 - name: npm install run: | - npm i --force && npm i puppeteer --force && npx puppeteer install chrome + npm i --force && npm i puppeteer --force && npx puppeteer install chrome@144.0.7559.96 env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true - name: Start mock server From 0f1e8d3cf822a9407d38892cedbbe7fd7646839c Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Mon, 26 Oct 2026 17:29:20 +0100 Subject: [PATCH 06/12] fix: specify chrome versionn --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4b40a3cc6..bb71325fd 100644 --- a/package.json +++ b/package.json @@ -179,7 +179,7 @@ "json-server": "0.17.4", "playwright": "^1.63.0", "prettier": "^3.3.2", - "puppeteer": "24.36.0", + "puppeteer": "25.16.0", "qrcode-terminal": "0.12.0", "rosie": "2.1.1", "semver": "7.7.3", From 5da5ec614afdb50e3bde56358b74b2261df1bfc2 Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Mon, 26 Oct 2026 17:44:06 +0100 Subject: [PATCH 07/12] fix: specify chrome versionn --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bb71325fd..1664b0f88 100644 --- a/package.json +++ b/package.json @@ -164,7 +164,7 @@ "chai-as-promised": "^8.0.2", "chai-subset": "1.6.0", "documentation": "14.0.3", - "electron": "40.2.1", + "electron": "45.0.0", "eslint": "^9.36.0", "eslint-plugin-import": "2.32.0", "eslint-plugin-mocha": "11.3.0", From 6154c910fdf2fe854fc7d1ad15e5dc0cd7dd4dc8 Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Mon, 26 Oct 2026 17:56:04 +0100 Subject: [PATCH 08/12] fix: wait for selenium server starts --- .github/workflows/webdriver.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/webdriver.yml b/.github/workflows/webdriver.yml index c3ff16a23..ce17915cd 100644 --- a/.github/workflows/webdriver.yml +++ b/.github/workflows/webdriver.yml @@ -27,6 +27,12 @@ jobs: steps: - run: docker run -d --net=host --shm-size=2g selenium/standalone-chrome:4.27 + - name: Wait for Selenium to be ready + run: | + for i in {1..30}; do + curl -sSf http://localhost:4444/status && break + sleep 1 + done - uses: actions/checkout@v6 - name: Read .nvmrc id: nvmrc From c799e24caca5eb3592add4cdb1b947c0cde49a47 Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Mon, 26 Oct 2026 18:01:59 +0100 Subject: [PATCH 09/12] fix: wait for selenium server starts --- .github/workflows/webdriver.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/webdriver.yml b/.github/workflows/webdriver.yml index ce17915cd..6d1b69ac2 100644 --- a/.github/workflows/webdriver.yml +++ b/.github/workflows/webdriver.yml @@ -26,13 +26,18 @@ jobs: node-version: [22.x] steps: - - run: docker run -d --net=host --shm-size=2g selenium/standalone-chrome:4.27 + - run: docker run -d --net=host --shm-size=2g selenium/standalone-chrome:4.25 - name: Wait for Selenium to be ready run: | - for i in {1..30}; do - curl -sSf http://localhost:4444/status && break + for i in {1..60}; do + if curl -sSf http://127.0.0.1:4444/wd/hub/status > /dev/null 2>&1; then + echo "Selenium is ready" + break + fi + echo "Waiting for Selenium... ($i/60)" sleep 1 done + sleep 2 - uses: actions/checkout@v6 - name: Read .nvmrc id: nvmrc From 2a27e0e9d3e1b035b2a8b962b5636dd736ae163d Mon Sep 17 00:00:00 2001 From: kobenguyent <7845001+kobenguyent@users.noreply.github.com> Date: Tue, 27 Oct 2026 05:24:23 +0100 Subject: [PATCH 10/12] Update .nvmrc --- .nvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nvmrc b/.nvmrc index 63f87c20e..b8b23ca93 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -26.12.1 +22.23.4 From a07b32f2754d941ab13bbab2c8d84548371caa1c Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Tue, 27 Oct 2026 09:50:07 +0100 Subject: [PATCH 11/12] fix: wait for selenium server starts --- .github/workflows/puppeteer.yml | 2 -- package.json | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/puppeteer.yml b/.github/workflows/puppeteer.yml index f0c970c0f..6411c14c4 100644 --- a/.github/workflows/puppeteer.yml +++ b/.github/workflows/puppeteer.yml @@ -54,8 +54,6 @@ jobs: - name: start a server run: 'php -S 127.0.0.1:8000 -t test/data/app &' - uses: browser-actions/setup-chrome@v2 - with: - chrome-version: 144.0.7559.96 - run: chrome --version - name: run tests run: './bin/codecept.js run-workers 2 -c test/acceptance/codecept.Puppeteer.js --grep @Puppeteer --debug' diff --git a/package.json b/package.json index 1664b0f88..4b40a3cc6 100644 --- a/package.json +++ b/package.json @@ -164,7 +164,7 @@ "chai-as-promised": "^8.0.2", "chai-subset": "1.6.0", "documentation": "14.0.3", - "electron": "45.0.0", + "electron": "40.2.1", "eslint": "^9.36.0", "eslint-plugin-import": "2.32.0", "eslint-plugin-mocha": "11.3.0", @@ -179,7 +179,7 @@ "json-server": "0.17.4", "playwright": "^1.63.0", "prettier": "^3.3.2", - "puppeteer": "25.16.0", + "puppeteer": "24.36.0", "qrcode-terminal": "0.12.0", "rosie": "2.1.1", "semver": "7.7.3", From a5588615309654328056c4a96c4480245f84efe6 Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Tue, 27 Oct 2026 16:46:27 +0100 Subject: [PATCH 12/12] address PR --- .github/workflows/appium_Android.yml | 8 ++------ .github/workflows/appium_iOS.yml | 8 ++------ .github/workflows/doc-generation.yml | 11 ++--------- .github/workflows/dtslint.yml | 10 +++------- .github/workflows/lightpanda.yml | 11 ++--------- .github/workflows/moli.yml | 11 ++--------- .github/workflows/obscura.yml | 11 ++--------- .github/workflows/playwright.yml | 11 ++--------- .github/workflows/plugin.yml | 11 ++--------- .github/workflows/publish-beta.yml | 5 +---- .github/workflows/puppeteer.yml | 11 ++--------- .github/workflows/sharding-demo.yml | 5 +---- .github/workflows/test.yml | 18 ++++++++---------- .github/workflows/webdriver.yml | 10 ++-------- 14 files changed, 33 insertions(+), 108 deletions(-) diff --git a/.github/workflows/appium_Android.yml b/.github/workflows/appium_Android.yml index 59b0b8ace..b134491c3 100644 --- a/.github/workflows/appium_Android.yml +++ b/.github/workflows/appium_Android.yml @@ -28,19 +28,15 @@ jobs: strategy: matrix: - node-version: [22.x] test-suite: ['other', 'quick'] steps: - uses: actions/checkout@v6 - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - run: npm i env: diff --git a/.github/workflows/appium_iOS.yml b/.github/workflows/appium_iOS.yml index 5664f012d..94d3ac9d9 100644 --- a/.github/workflows/appium_iOS.yml +++ b/.github/workflows/appium_iOS.yml @@ -24,18 +24,14 @@ jobs: strategy: matrix: - node-version: [22.x] test-suite: ['other', 'quick'] steps: - uses: actions/checkout@v6 - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - run: npm i --force env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true diff --git a/.github/workflows/doc-generation.yml b/.github/workflows/doc-generation.yml index 7361c8c50..87033e6d9 100644 --- a/.github/workflows/doc-generation.yml +++ b/.github/workflows/doc-generation.yml @@ -13,21 +13,14 @@ jobs: update-documentation: runs-on: ubuntu-22.04 - strategy: - matrix: - node-version: [22.x] - steps: - name: Check out the repo uses: actions/checkout@v6 - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - uses: oven-sh/setup-bun@v2 diff --git a/.github/workflows/dtslint.yml b/.github/workflows/dtslint.yml index 0dc89d3d8..7b3b4e610 100644 --- a/.github/workflows/dtslint.yml +++ b/.github/workflows/dtslint.yml @@ -16,17 +16,13 @@ jobs: test: runs-on: ubuntu-22.04 strategy: - matrix: - node-version: [22.x] + matrix: {} steps: - uses: actions/checkout@v6 - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - uses: oven-sh/setup-bun@v2 - run: npm i --force env: diff --git a/.github/workflows/lightpanda.yml b/.github/workflows/lightpanda.yml index 68d5aa99f..ded1dbc9f 100644 --- a/.github/workflows/lightpanda.yml +++ b/.github/workflows/lightpanda.yml @@ -25,21 +25,14 @@ jobs: runs-on: ubuntu-22.04 timeout-minutes: 15 - strategy: - matrix: - node-version: [22.x] - steps: - uses: actions/checkout@v6 with: persist-credentials: false - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - uses: shivammathur/setup-php@v2 with: php-version: 8.0 diff --git a/.github/workflows/moli.yml b/.github/workflows/moli.yml index 25ef95c89..92c279d49 100644 --- a/.github/workflows/moli.yml +++ b/.github/workflows/moli.yml @@ -26,21 +26,14 @@ jobs: runs-on: ubuntu-22.04 timeout-minutes: 15 - strategy: - matrix: - node-version: [22.x] - steps: - uses: actions/checkout@v6 with: persist-credentials: false - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - uses: shivammathur/setup-php@v2 with: php-version: 8.0 diff --git a/.github/workflows/obscura.yml b/.github/workflows/obscura.yml index 8fb49d956..80532d16f 100644 --- a/.github/workflows/obscura.yml +++ b/.github/workflows/obscura.yml @@ -26,21 +26,14 @@ jobs: runs-on: ubuntu-22.04 timeout-minutes: 15 - strategy: - matrix: - node-version: [22.x] - steps: - uses: actions/checkout@v6 with: persist-credentials: false - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - uses: shivammathur/setup-php@v2 with: php-version: 8.0 diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 671d1345e..ee7614dac 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -22,19 +22,12 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 - strategy: - matrix: - node-version: [22.x] - steps: - uses: actions/checkout@v6 - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - uses: shivammathur/setup-php@v2 with: php-version: 7.4 diff --git a/.github/workflows/plugin.yml b/.github/workflows/plugin.yml index 34b1247c8..b89756cbd 100644 --- a/.github/workflows/plugin.yml +++ b/.github/workflows/plugin.yml @@ -22,19 +22,12 @@ jobs: runs-on: ubuntu-22.04 timeout-minutes: 20 - strategy: - matrix: - node-version: [22.x] - steps: - uses: actions/checkout@v6 - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - uses: shivammathur/setup-php@v2 with: php-version: 7.4 diff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.yml index d896b1a52..2de031ec8 100644 --- a/.github/workflows/publish-beta.yml +++ b/.github/workflows/publish-beta.yml @@ -17,12 +17,9 @@ jobs: with: ref: ${{ github.event.release.target_commitish }} - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' registry-url: 'https://registry.npmjs.org' - uses: oven-sh/setup-bun@v2 diff --git a/.github/workflows/puppeteer.yml b/.github/workflows/puppeteer.yml index 6411c14c4..59f4d8903 100644 --- a/.github/workflows/puppeteer.yml +++ b/.github/workflows/puppeteer.yml @@ -22,19 +22,12 @@ jobs: runs-on: ubuntu-22.04 timeout-minutes: 25 - strategy: - matrix: - node-version: [22.x] - steps: - uses: actions/checkout@v6 - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - uses: shivammathur/setup-php@v2 with: php-version: 7.4 diff --git a/.github/workflows/sharding-demo.yml b/.github/workflows/sharding-demo.yml index 99b85e7cc..a6bad32c9 100644 --- a/.github/workflows/sharding-demo.yml +++ b/.github/workflows/sharding-demo.yml @@ -30,13 +30,10 @@ jobs: - name: Checkout uses: actions/checkout@v6 - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - name: Install dependencies run: npm install --ignore-scripts diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 79f5b148d..f0ec38f1d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,15 +18,16 @@ jobs: runs-on: ubuntu-22.04 timeout-minutes: 15 + strategy: + matrix: + node-version: [22.x, 26.x] + steps: - uses: actions/checkout@v6 - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version: ${{ matrix.node-version }} - run: npm i env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true @@ -63,13 +64,10 @@ jobs: steps: - uses: actions/checkout@v6 - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version: ${{ matrix.node-version }} - run: npm i env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true diff --git a/.github/workflows/webdriver.yml b/.github/workflows/webdriver.yml index 6d1b69ac2..65c075a89 100644 --- a/.github/workflows/webdriver.yml +++ b/.github/workflows/webdriver.yml @@ -21,9 +21,6 @@ jobs: build: runs-on: ubuntu-latest timeout-minutes: 25 - strategy: - matrix: - node-version: [22.x] steps: - run: docker run -d --net=host --shm-size=2g selenium/standalone-chrome:4.25 @@ -39,13 +36,10 @@ jobs: done sleep 2 - uses: actions/checkout@v6 - - name: Read .nvmrc - id: nvmrc - run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - - name: Use Node.js from .nvmrc + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - uses: shivammathur/setup-php@v2 with: php-version: 8.0