Skip to content

Commit

Permalink
build: Upgrade to Node 20 (#124)
Browse files Browse the repository at this point in the history
* feat: updated node to v20, update ci workflow

* feat: added lockfile version check workflow

* refactor: updated package-lock along with ci & lockfile version workflows
  • Loading branch information
BilalQamar95 authored Sep 6, 2024
1 parent 986ed09 commit ad2368e
Show file tree
Hide file tree
Showing 4 changed files with 1,043 additions and 2,132 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ jobs:
strategy:
matrix:
node: [18, 20]
continue-on-error: ${{ matrix.node == 20 }}

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
node-version: ${{ env.NODE_VER }}
- run: npm ci
- run: npm run lint
13 changes: 13 additions & 0 deletions .github/workflows/lockfileversion-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#check package-lock file version

name: Lockfile Version check

on:
push:
branches:
- master
pull_request:

jobs:
version-check:
uses: openedx/.github/.github/workflows/lockfileversion-check-v3.yml@master
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
Loading

0 comments on commit ad2368e

Please sign in to comment.