build: Upgrade to Node 24 (#546)

Co-authored-by: Peter Kulko <93188219+PKulkoRaccoonGang@users.noreply.github.com>
This commit is contained in:
bydawen
2025-09-26 15:19:12 +03:00
committed by GitHub
parent 4dcbae37f2
commit 7cb75a333f
4 changed files with 7258 additions and 1841 deletions

View File

@@ -12,7 +12,6 @@ jobs:
strategy:
matrix:
node: [20, 24]
continue-on-error: ${{ matrix.node == 24 }}
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -21,7 +20,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Validate package-lock.json changes

2
.nvmrc
View File

@@ -1 +1 @@
20
24

View File

@@ -62,9 +62,9 @@ Cloning and Startup
``git clone https://github.com/openedx/frontend-component-footer.git``
2. Use node v18.x.
2. Use node v24.x.
The current version of the micro-frontend build scripts support node 18.
The current version of the micro-frontend build scripts support node 24.
Using other major versions of node *may* work, but this is unsupported. For
convenience, this repository includes an .nvmrc file to help in setting the
correct node version via `nvm <https://github.com/nvm-sh/nvm>`_.

9090
package-lock.json generated

File diff suppressed because it is too large Load Diff