ARROW-18335: [CI][Release][JS] Use Node.js 16 as workaround (#14652)
ARROW-18335: [CI][Release][JS] Use Node.js 16 as workaround (#14652)

verify-rc-source-js is failed with Node.js 18:

https://github.com/ursacomputing/crossbow/actions/runs/3470647227/jobs/5799108266

    $ gulp bundle
    [13:54:58] Using gulpfile /arrow/js/gulpfile.js
    [13:54:58] Starting 'bundle'...
    [13:54:58] Starting 'bundle:clean'...
    [13:54:58] Finished 'bundle:clean' after 25 ms
    [13:54:58] Starting 'bundle:esbuild'...
    [13:54:58] field-bundle.js: 195.51 kB (gzipped: 47.27 kB)
    [13:54:58] makeTable-bundle.js: 197.11 kB (gzipped: 47.57 kB)
    [13:54:58] makeVector-bundle.js: 197.02 kB (gzipped: 47.54 kB)
    [13:54:58] schema-bundle.js: 195.51 kB (gzipped: 47.27 kB)
    [13:54:58] table-bundle.js: 195.51 kB (gzipped: 47.27 kB)
    [13:54:58] tableFromArrays-bundle.js: 198.74 kB (gzipped: 48.2 kB)
    [13:54:58] tableFromIPC-bundle.js: 196.75 kB (gzipped: 47.54 kB)
    [13:54:58] vector-bundle.js: 195.51 kB (gzipped: 47.27 kB)
    [13:54:58] vectorFromArray-bundle.js: 198.66 kB (gzipped: 48.15 kB)
    [13:54:58] Finished 'bundle:esbuild' after 430 ms
    [13:54:58] Starting 'bundle:rollup'...
    [13:55:18] field-bundle.js: 799 B (gzipped: 365 B)
    [13:55:18] makeTable-bundle.js: 85.62 kB (gzipped: 18.67 kB)
    [13:55:18] makeVector-bundle.js: 69.37 kB (gzipped: 15.21 kB)
    [13:55:18] schema-bundle.js: 12.27 kB (gzipped: 3.16 kB)
    [13:55:18] table-bundle.js: 82.19 kB (gzipped: 18.14 kB)
    [13:55:18] tableFromArrays-bundle.js: 105.2 kB (gzipped: 23.27 kB)
    [13:55:18] tableFromIPC-bundle.js: 188.2 kB (gzipped: 39.54 kB)
    [13:55:18] vector-bundle.js: 65.99 kB (gzipped: 14.69 kB)
    [13:55:18] vectorFromArray-bundle.js: 94.33 kB (gzipped: 20.48 kB)
    [13:55:18] Finished 'bundle:rollup' after 20 s
    [13:55:18] Starting 'bundle:webpack'...
    [13:55:19] 'bundle:webpack' errored after 439 ms
    [13:55:19] Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
        at new NodeError (node:internal/errors:393:5)
        at Stream.<anonymous> (node:internal/streams/pipeline:352:14)
        at Stream.emit (node:events:525:35)
        at Stream.emit (node:domain:552:15)
        at stream.destroy (/arrow/js/node_modules/through/index.js:84:12)
        at _end (/arrow/js/node_modules/through/index.js:67:14)
        at stream.end (/arrow/js/node_modules/through/index.js:74:5)
        at DestroyableTransform.onend (/arrow/js/node_modules/readable-stream/lib/_stream_readable.js:577:10)
        at Object.onceWrapper (node:events:627:28)
        at DestroyableTransform.emit (node:events:525:35)
    [13:55:19] 'bundle' errored after 21 s
    error Command failed with exit code 1.
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
    Failed to verify release candidate. See /tmp/arrow-HEAD.ksyeB for details.
    1
    Error: `docker-compose --file
    /home/runner/work/crossbow/crossbow/arrow/docker-compose.yml run
    --rm -e VERIFY_VERSION= -e VERIFY_RC= -e TEST_DEFAULT=0 -e
    TEST_JS=1 ubuntu-verify-rc` exited with a non-zero exit code 1,
    see the process log above.

Lead-authored-by: Sutou Kouhei <73218711cdd5d5c30ac66da3cc4d9d9204caf34b@clear-code.com>
Co-authored-by: Sutou Kouhei <73218711cdd5d5c30ac66da3cc4d9d9204caf34b@cozmixng.org>
Co-authored-by: Dominik Moritz <addeb72ed7b7df5f4ba2327b9379e72239c27bb5@gmail.com>
Signed-off-by: Sutou Kouhei <73218711cdd5d5c30ac66da3cc4d9d9204caf34b@clear-code.com>
kou/arrow,apache/arrow,kou/arrow,apache/arrow,apache/arrow,kou/arrow,apache/arrow,kou/arrow,apache/arrow,kou/arrow,apache/arrow,apache/arrow,kou/arrow,kou/arrow,kou/arrow,apache/arrow,apache/arrow,apache/arrow,apache/arrow,apache/arrow,kou/arrow,kou/arrow,kou/arrow,apache/arrow,kou/arrow,apache/arrow,kou/arrow,kou/arrow