1717 strategy :
1818 fail-fast : false
1919 matrix :
20- os : [ubuntu-latest, windows-latest, macos-latest, macos-latest-large ]
20+ os : [ubuntu-latest, windows-latest, macos-latest, macos-latest]
2121 node-version : [20, 22, 24]
2222 steps :
2323 - uses : actions/checkout@v6
@@ -29,99 +29,12 @@ jobs:
2929 run : __tests__/verify-node.sh "${{ matrix.node-version }}"
3030 shell : bash
3131
32- lts-syntax :
33- runs-on : ${{ matrix.os }}
34- strategy :
35- fail-fast : false
36- matrix :
37- os : [ubuntu-latest, windows-latest, macos-latest-large]
38- node-version : [lts/dubnium, lts/erbium, lts/fermium, lts/*, lts/-1]
39- steps :
40- - uses : actions/checkout@v6
41- - name : Setup Node
42- uses : ./
43- with :
44- node-version : ${{ matrix.node-version }}
45- check-latest : true
46- - if : runner.os != 'Windows' && runner.os != 'macOS'
47- name : Verify node and npm
48- run : |
49- . "$NVM_DIR/nvm.sh"
50- [[ $(nvm version-remote "${{ matrix.node-version }}") =~ ^v([^.]+) ]]
51- __tests__/verify-node.sh "${BASH_REMATCH[1]}"
52- shell : bash
53-
54- v8-canary-syntax :
55- runs-on : ${{ matrix.os }}
56- strategy :
57- fail-fast : false
58- matrix :
59- os : [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
60- node-version :
61- [
62- ' 20-v8-canary' ,
63- ' 20.0.0-v8-canary' ,
64- ' 20.0.0-v8-canary20221101e50e45c9f8'
65- ]
66- steps :
67- - uses : actions/checkout@v6
68- - name : Setup Node
69- uses : ./
70- with :
71- node-version : ${{ matrix.node-version }}
72- - name : Verify node and npm
73- run : |
74- canaryVersion="${{ matrix.node-version }}"
75- majorVersion=$(echo $canaryVersion | cut -d- -f1)
76- __tests__/verify-node.sh "$majorVersion"
77- shell : bash
78-
79- nightly-syntax :
80- runs-on : ${{ matrix.os }}
81- strategy :
82- fail-fast : false
83- matrix :
84- os : [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
85- node-version : [20-nightly, 25-nightly, 24.0.0-nightly]
86- steps :
87- - uses : actions/checkout@v6
88- - name : Setup Node
89- uses : ./
90- with :
91- node-version : ${{ matrix.node-version }}
92- - name : Verify node and npm
93- run : |
94- nightlyVersion="${{ matrix.node-version }}"
95- majorVersion=$(echo $nightlyVersion | cut -d- -f1)
96- __tests__/verify-node.sh "$majorVersion"
97- shell : bash
98-
99- rc-syntax :
100- runs-on : ${{ matrix.os }}
101- strategy :
102- fail-fast : false
103- matrix :
104- os : [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
105- node-version : [20.0.0-rc.1, 22.14.0-rc.1, 24.0.0-rc.4]
106- steps :
107- - uses : actions/checkout@v6
108- - name : Setup Node
109- uses : ./
110- with :
111- node-version : ${{ matrix.node-version }}
112- - name : Verify node and npm
113- run : |
114- rcVersion="${{ matrix.node-version }}"
115- majorVersion=$(echo $rcVersion | cut -d- -f1)
116- __tests__/verify-node.sh "$majorVersion"
117- shell : bash
118-
11932 manifest :
12033 runs-on : ${{ matrix.os }}
12134 strategy :
12235 fail-fast : false
12336 matrix :
124- os : [ubuntu-latest, windows-latest, macos-latest, macos-latest-large ]
37+ os : [ubuntu-latest, windows-latest, macos-latest, macos-latest]
12538 node-version : [20.10.0, 22.0.0, 24.9.0]
12639 steps :
12740 - uses : actions/checkout@v6
13851 strategy :
13952 fail-fast : false
14053 matrix :
141- os : [ubuntu-latest, windows-latest, macos-latest, macos-latest-large ]
54+ os : [ubuntu-latest, windows-latest, macos-latest, macos-latest]
14255 node-version : [20, 22, 24]
14356 steps :
14457 - uses : actions/checkout@v6
15669 strategy :
15770 fail-fast : false
15871 matrix :
159- os : [ubuntu-latest, windows-latest, macos-latest, macos-latest-large ]
72+ os : [ubuntu-latest, windows-latest, macos-latest, macos-latest]
16073 node-version-file :
16174 [.nvmrc, .tool-versions, .tool-versions-node, package.json]
16275 steps :
@@ -188,7 +101,7 @@ jobs:
188101 strategy :
189102 fail-fast : false
190103 matrix :
191- os : [ubuntu-latest, windows-latest, macos-latest, macos-latest-large ]
104+ os : [ubuntu-latest, windows-latest, macos-latest, macos-latest]
192105 steps :
193106 - uses : actions/checkout@v6
194107 - name : Setup node from node version file
@@ -203,7 +116,7 @@ jobs:
203116 strategy :
204117 fail-fast : false
205118 matrix :
206- os : [ubuntu-latest, windows-latest, macos-latest, macos-latest-large ]
119+ os : [ubuntu-latest, windows-latest, macos-latest, macos-latest]
207120 steps :
208121 - uses : actions/checkout@v6
209122 - name : Setup node from node version file
@@ -218,7 +131,7 @@ jobs:
218131 strategy :
219132 fail-fast : false
220133 matrix :
221- os : [ubuntu-latest, windows-latest, macos-latest, macos-latest-large ]
134+ os : [ubuntu-latest, windows-latest, macos-latest, macos-latest]
222135 node-version : [17, 19]
223136 steps :
224137 - uses : actions/checkout@v6
@@ -235,7 +148,7 @@ jobs:
235148 strategy :
236149 fail-fast : false
237150 matrix :
238- os : [ubuntu-latest, windows-latest, macos-latest-large ]
151+ os : [ubuntu-latest, windows-latest, macos-15-intel ]
239152 steps :
240153 - uses : actions/checkout@v6
241154 # test old versions which didn't have npm and layout different
@@ -259,34 +172,3 @@ jobs:
259172 - name : Verify node
260173 run : __tests__/verify-arch.sh "ia32"
261174 shell : bash
262-
263- node-latest-aliases :
264- runs-on : ${{ matrix.os }}
265- strategy :
266- fail-fast : false
267- matrix :
268- os : [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
269- node-version : [current, latest, node]
270- steps :
271- - name : Get node version
272- run : |
273- latestNodeVersion=$(curl https://nodejs.org/dist/index.json | jq -r '. [0].version')
274- echo "LATEST_NODE_VERSION=$latestNodeVersion" >> $GITHUB_OUTPUT
275- id : version
276- shell : bash
277- - uses : actions/checkout@v6
278- - name : Setup Node
279- uses : ./
280- with :
281- node-version : ${{ matrix.node-version }}
282- - name : Retrieve version after install
283- run : |
284- updatedVersion=$(echo $(node --version))
285- echo "NODE_VERSION_UPDATED=$updatedVersion" >> $GITHUB_OUTPUT
286- id : updatedVersion
287- shell : bash
288- - name : Compare versions
289- if : ${{ steps.version.outputs.LATEST_NODE_VERSION != steps.updatedVersion.outputs.NODE_VERSION_UPDATED}}
290- run : |
291- echo "Latest node version failed to download."
292- exit 1
0 commit comments