Revert #11314 (Test supported Node versions)

I also added a really long comment so people know why.
This commit is contained in:
Guangcong Luo 2025-08-01 21:28:33 -07:00 committed by GitHub
parent 1931b23006
commit 8d75112e4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,11 +17,15 @@ jobs:
strategy:
matrix:
node-version: [
'20.x',
'22.x',
'24.x',
]
# Testing multiple Node versions makes CI take forever, and basically
# never actually finds anything we care about. Testing one is enough.
#
# This number should be left at the oldest Node LTS version capable of
# running Node without errors (it doesn't matter if it's unsupported).
# Please freely bump this version (and the check in `pokemon-showdown`
# and `server/index.ts`) if you want to use features from newer versions;
# this is purely for our own reference, not to constrain programmers.
node-version: ['18.x']
steps:
- uses: actions/checkout@v4