chore: update Node.js version in the conformance action to 22 (#162)

With Node.js 20 the action fails with:

```
SyntaxError: The requested module 'fs' does not provide an export named 'globSync'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:213:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:320:5)
    at async ModuleLoader.import (node:internal/modules/esm/loader:606:24)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)
```

`fs.globSync` was added in Node.js 22.
This commit is contained in:
Maciej Kisiel 2026-03-02 11:03:15 +01:00 • committed by GitHub
commit 22f5c8bb1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,9 +28,9 @@ inputs:
required: false
default: 'false'
node-version:
description: 'Node.js version to use (default: 20)'
description: 'Node.js version to use (default: 22)'
required: false
default: '20'
default: '22'
runs:
using: 'composite'
steps: