Skip to content

Commit c42b2a6

Browse files
committed
build: Upgrade to Node 24
1 parent ec5381e commit c42b2a6

File tree

4 files changed

+1141
-1010
lines changed

4 files changed

+1141
-1010
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
jobs:
1010
tests:
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node: [ 20, 24 ]
1215
steps:
1316
- name: Checkout
1417
uses: actions/checkout@v4
@@ -17,7 +20,7 @@ jobs:
1720
- name: Setup Nodejs
1821
uses: actions/setup-node@v4
1922
with:
20-
node-version-file: '.nvmrc'
23+
node-version: ${{ matrix.node }}
2124
- name: Install dependencies
2225
run: npm ci
2326
- name: Validate package-lock.json changes

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ Cloning and Startup
7171
7272
``git clone https://github.com/openedx/frontend-component-header.git``
7373
74-
2. Use node v18.x.
74+
2. Use node v24.x.
7575
76-
The current version of the micro-frontend build scripts support node 18.
76+
The current version of the micro-frontend build scripts support node 24.
7777
Using other major versions of node *may* work, but this is unsupported. For
7878
convenience, this repository includes an .nvmrc file to help in setting the
7979
correct node version via `nvm <https://github.com/nvm-sh/nvm>`_.

0 commit comments

Comments
 (0)