build: Upgrade to Node 24 (#546)
Co-authored-by: Peter Kulko <93188219+PKulkoRaccoonGang@users.noreply.github.com>
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -12,7 +12,6 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node: [20, 24]
|
node: [20, 24]
|
||||||
continue-on-error: ${{ matrix.node == 24 }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -21,7 +20,7 @@ jobs:
|
|||||||
- name: Setup Nodejs
|
- name: Setup Nodejs
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version-file: '.nvmrc'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Validate package-lock.json changes
|
- name: Validate package-lock.json changes
|
||||||
|
|||||||
@@ -62,9 +62,9 @@ Cloning and Startup
|
|||||||
|
|
||||||
``git clone https://github.com/openedx/frontend-component-footer.git``
|
``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
|
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
|
convenience, this repository includes an .nvmrc file to help in setting the
|
||||||
correct node version via `nvm <https://github.com/nvm-sh/nvm>`_.
|
correct node version via `nvm <https://github.com/nvm-sh/nvm>`_.
|
||||||
|
|||||||
9090
package-lock.json
generated
9090
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user