Skip to content

Commit

Permalink
ci: test latest node v21
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Apr 4, 2024
1 parent a28b38e commit 5242509
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/utils/node-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ const latestMajor = (version: string) => (process.env.CI ? version : version.spl

export const nodeVersions = [
process.version,
latestMajor('21.6.1'),
latestMajor('20.11.0'),
...(
(
process.platform !== 'win32'
process.env.CI
&& process.platform !== 'win32'
)
? [
latestMajor('21.6.1'),
'21.0.0',
latestMajor('20.10.0'),
'20.0.0',
latestMajor('18.20.0'),
'18.0.0',
Expand Down

0 comments on commit 5242509

Please sign in to comment.