From 8fd9dafb8e6b3d05c5acd3a9aebbcd53ea47e5f3 Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Wed, 22 May 2024 15:54:18 +0300 Subject: [PATCH 1/2] ci: Node.js 22 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fb7b3510c17..e8bf2d58150 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -114,10 +114,10 @@ jobs: use_main_branches: 1 # Test on the latest version of Node.js - os: ubuntu-latest - node-version: 21.x + node-version: 22.x part: a - os: ubuntu-latest - node-version: 21.x + node-version: 22.x part: b # Test on the old LTS version of Node.js - os: ubuntu-latest From 360791ed15ef587a00cf670745690bd35b5f4acd Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Wed, 22 May 2024 16:22:07 +0300 Subject: [PATCH 2/2] test: fix --- test/configCases/externals/import-attributes/test.filter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/configCases/externals/import-attributes/test.filter.js b/test/configCases/externals/import-attributes/test.filter.js index 66425618bbe..f279abde33a 100644 --- a/test/configCases/externals/import-attributes/test.filter.js +++ b/test/configCases/externals/import-attributes/test.filter.js @@ -1,5 +1,5 @@ const supportsImportAttributes = require("../../../helpers/supportsImportAttributes"); module.exports = () => { - return supportsImportAttributes(); + return supportsImportAttributes() && !/^v(2[2-9])/.test(process.version); };