Skip to content

Commit ba51fbd

Browse files
authored
build: Upgrade to Node 20 (#847)
* feat: updated node to v20, update ci workflow * feat: added lockfile version check workflow
1 parent b83dbcb commit ba51fbd

File tree

4 files changed

+38
-2840
lines changed

4 files changed

+38
-2840
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
python-version: ['3.8', '3.12']
1414
django-version: ['4.2']
1515
node: [18, 20]
16-
continue-on-error: ${{ matrix.node == 20 }}
1716
steps:
1817
- uses: actions/checkout@v4
1918
- name: Set up Python ${{ matrix.python-version }}
@@ -24,7 +23,7 @@ jobs:
2423
- name: Setup Nodejs
2524
uses: actions/setup-node@v4
2625
with:
27-
node-version: ${{ matrix.node }}
26+
node-version: ${{ env.NODE_VER }}
2827

2928
- name: run tests with Django ${{ matrix.django-version }}
3029
run: |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#check package-lock file version
2+
3+
name: Lockfile Version check
4+
5+
on:
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
11+
jobs:
12+
version-check:
13+
uses: openedx/.github/.github/workflows/lockfileversion-check-v3.yml@master

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

0 commit comments

Comments
 (0)