Skip to content

Commit 6e87815

Browse files
authored
feat: Add support for Node 24; remove support for Node 18 (#107)
BREAKING CHANGE: Removes support for Node 18.
1 parent 37c1200 commit 6e87815

File tree

3 files changed

+17
-41
lines changed

3 files changed

+17
-41
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,19 @@ on:
77
branches:
88
- '**'
99
env:
10-
NODE_VERSION: 14.16.1
10+
NODE_VERSION: 24
1111
jobs:
1212
check-circular:
1313
name: Circular Dependencies
1414
timeout-minutes: 5
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- name: Use Node.js ${{ matrix.NODE_VERSION }}
19-
uses: actions/setup-node@v1
19+
uses: actions/setup-node@v4
2020
with:
2121
node-version: ${{ matrix.NODE_VERSION }}
22-
- name: Cache Node.js modules
23-
uses: actions/cache@v2
24-
with:
25-
path: ~/.npm
26-
key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
27-
restore-keys: |
28-
${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
22+
cache: 'npm'
2923
- name: Install dependencies
3024
run: npm ci
3125
- run: npm run madge:circular
@@ -34,48 +28,36 @@ jobs:
3428
timeout-minutes: 5
3529
runs-on: ubuntu-latest
3630
steps:
37-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@v4
3832
- name: Use Node.js ${{ matrix.NODE_VERSION }}
39-
uses: actions/setup-node@v1
40-
with:
41-
node-version: ${{ matrix.node-version }}
42-
- name: Cache Node.js modules
43-
uses: actions/cache@v2
33+
uses: actions/setup-node@v4
4434
with:
45-
path: ~/.npm
46-
key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
47-
restore-keys: |
48-
${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
35+
node-version: ${{ matrix.NODE_VERSION }}
36+
cache: 'npm'
4937
- name: Install dependencies
5038
run: npm ci
5139
- run: npm run lint
5240
check-tests:
5341
strategy:
5442
matrix:
5543
include:
44+
- name: Node 24
45+
NODE_VERSION: 24.11.1
5646
- name: Node 22
57-
NODE_VERSION: 22.4.1
47+
NODE_VERSION: 22.21.1
5848
- name: Node 20
59-
NODE_VERSION: 20.15.1
60-
- name: Node 18
61-
NODE_VERSION: 18.20.4
49+
NODE_VERSION: 20.19.5
6250
fail-fast: false
6351
name: Tests
6452
timeout-minutes: 5
6553
runs-on: ubuntu-latest
6654
steps:
67-
- uses: actions/checkout@v2
55+
- uses: actions/checkout@v4
6856
- name: Use Node.js
69-
uses: actions/setup-node@v1
57+
uses: actions/setup-node@v4
7058
with:
7159
node-version: ${{ matrix.NODE_VERSION }}
72-
- name: Cache Node.js modules
73-
uses: actions/cache@v2
74-
with:
75-
path: ~/.npm
76-
key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
77-
restore-keys: |
78-
${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
60+
cache: 'npm'
7961
- run: npm ci
8062
- run: npm test
8163
env:

.github/workflows/release-automated.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup Node
1414
uses: actions/setup-node@v4
1515
with:
16-
node-version: 22
16+
node-version: 24
1717
cache: 'npm'
1818
- name: Install dependencies
1919
run: npm ci

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Coverage](https://codecov.io/gh/parse-community/parse-server-api-mail-adapter/branch/alpha/graph/badge.svg)](https://codecov.io/gh/parse-community/parse-server-api-mail-adapter)
66
[![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases)
77

8-
[![Node Version](https://img.shields.io/badge/nodejs-18,_20,_22-green.svg?logo=node.js&style=flat)](https://nodejs.org)
8+
[![Node Version](https://img.shields.io/badge/nodejs-20,_22,_24-green.svg?logo=node.js&style=flat)](https://nodejs.org)
99

1010
[![npm latest version](https://img.shields.io/npm/v/parse-server-api-mail-adapter/latest.svg)](https://www.npmjs.com/package/parse-server-api-mail-adapter)
1111

@@ -37,7 +37,6 @@ The Parse Server API Mail Adapter enables Parse Server to send emails using any
3737
- [Mailgun](#mailgun)
3838
- [ZeptoMail](#zeptomail)
3939
- [Custom API](#custom-api)
40-
- [Need help?](#need-help)
4140

4241
# Installation
4342

@@ -379,8 +378,3 @@ const server = new ParseServer({
379378
}
380379
});
381380
```
382-
383-
# Need help?
384-
385-
- Ask on StackOverflow using the [parse-server](https://stackoverflow.com/questions/tagged/parse-server) tag.
386-
- Search through existing [issues](https://github.com/parse-community/parse-server-api-mail-adapter/issues) or open a new issue.

0 commit comments

Comments
 (0)