chore: Pin node.js v22 to v22.4.1 in CI (#8393)

This should work around nodejs/node#53902 / npm/cli#7657 et al.
This commit is contained in:
Christopher Allen
2024-07-18 17:12:57 +01:00
committed by GitHub
parent 71f094b901
commit 1e3d3fde1c

View File

@@ -18,7 +18,8 @@ jobs:
# TODO (#2114): re-enable osx build.
# os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
node-version: [18.x, 20.x, 22.x]
# TODO(#8392): unpin v22 once npm issue fixed.
node-version: [18.x, 20.x, 22.4.1]
# See supported Node.js release schedule at
# https://nodejs.org/en/about/releases/