Skip to content

Commit 09401c7

Browse files
feat: upgrade to the [email protected] (#691)
* removed unnecessary workflows for the node.js 14 and 16, * updated the Node.js engine version to >= 18
1 parent 599bc83 commit 09401c7

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/release-on-push-to-mainline.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [14.x, 16.x, 18.x, 20.x]
13+
node-version: [18.x, 20.x, 22.x]
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
@@ -20,14 +20,7 @@ jobs:
2020
with:
2121
node-version: ${{ matrix.node-version }}
2222

23-
# 14.x fails with "npm ERR! Cannot read property '@commitlint/config-conventional' of undefined"
24-
# when running `npm ci` due to the new package-lock.json format. Run `npm i` instead
25-
- name: Install (14.x)
26-
if: matrix.node-version == '14.x'
27-
run: npm i
28-
2923
- name: Install
30-
if: matrix.node-version != '14.x'
3124
run: npm ci
3225

3326
- name: Test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"url": "https://github.com/CodeGenieApp/serverless-express.git"
2929
},
3030
"engines": {
31-
"node": ">=12"
31+
"node": ">=18"
3232
},
3333
"publishConfig": {
3434
"access": "public"

0 commit comments

Comments
 (0)