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 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); };