Skip to content

Commit 7fdf05a

Browse files
authored
Update Node.js version matrix in workflow (#16310)
* Update Node.js version matrix in workflow * ci(node 22): adding flag only for 22.x
1 parent eccc046 commit 7fdf05a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [20.x, 22.17.1]
19+
node-version: [20.x, 22.x]
2020

2121
steps:
2222
- name: Checkout
@@ -50,7 +50,7 @@ jobs:
5050
npm run test:schematics
5151
npm run test:i18n
5252
env:
53-
NODE_OPTIONS: --max_old_space_size=4096 --no-experimental-strip-types
53+
NODE_OPTIONS: --max_old_space_size=4096 ${{ matrix.node-version == '22.x' && '--no-experimental-strip-types' || '' }}
5454
TZ: America/New_York
5555
- name: Build i18n & validate output
5656
run: |

0 commit comments

Comments
 (0)