Skip to content

Commit

Permalink
ci: Node.js 22
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored May 22, 2024
2 parents 0bc11b2 + 360791e commit ac8e83a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const supportsImportAttributes = require("../../../helpers/supportsImportAttributes");

module.exports = () => {
return supportsImportAttributes();
return supportsImportAttributes() && !/^v(2[2-9])/.test(process.version);
};

0 comments on commit ac8e83a

Please sign in to comment.