Skip to content

Commit 6da698a

Browse files
committed
build: add Node.js versions 18 and 20 to build matrix
1 parent e67e6de commit 6da698a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/macos_test_npm_install.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
BUILD_TASK: ['test-npm-install']
7777

7878
# Define the list of Node.js versions:
79-
NODE_VERSION: ['16', '14', '12', '10', '8', '6', '4', '0.12', '0.10']
79+
NODE_VERSION: ['20', '18', '16', '14', '12', '10', '8', '6', '4', '0.12', '0.10']
8080

8181
# Define the list of operating systems:
8282
OS: ['macOS-latest']
@@ -86,14 +86,20 @@ jobs:
8686
- OS: 'macOS-latest'
8787
PLATFORM: 'macos'
8888

89+
- NODE_VERSION: '20'
90+
NPM_VERSION: '>10.0.0'
91+
92+
- NODE_VERSION: '18'
93+
NPM_VERSION: '>10.0.0'
94+
8995
- NODE_VERSION: '16'
9096
NPM_VERSION: '>2.7.0 <10.0.0'
9197

9298
- NODE_VERSION: '14'
9399
NPM_VERSION: '>2.7.0 <10.0.0'
94100

95101
- NODE_VERSION: '12'
96-
NPM_VERSION: '>2.7.0 <10.0.0'
102+
NPM_VERSION: '>2.7.0 <9.0.0'
97103

98104
- NODE_VERSION: '10'
99105
NPM_VERSION: '>2.7.0 <7.0.0'

0 commit comments

Comments
 (0)