From dbe0022f8070ac9cd390df133dc185d2e71e5e99 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 18 Nov 2025 14:12:08 +0100 Subject: [PATCH 1/2] ci --- .github/workflows/ci.yml | 48 ++++++++----------------- .github/workflows/release-automated.yml | 2 +- README.md | 8 +---- 3 files changed, 17 insertions(+), 41 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 225c61e..c4b18ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,25 +7,19 @@ on: branches: - '**' env: - NODE_VERSION: 14.16.1 + NODE_VERSION: 24 jobs: check-circular: name: Circular Dependencies timeout-minutes: 5 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.NODE_VERSION }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.NODE_VERSION }} - - name: Cache Node.js modules - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}- + cache: 'npm' - name: Install dependencies run: npm ci - run: npm run madge:circular @@ -34,18 +28,12 @@ jobs: timeout-minutes: 5 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.NODE_VERSION }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Cache Node.js modules - uses: actions/cache@v2 + uses: actions/setup-node@v4 with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}- + node-version: ${{ matrix.NODE_VERSION }} + cache: 'npm' - name: Install dependencies run: npm ci - run: npm run lint @@ -53,29 +41,23 @@ jobs: strategy: matrix: include: + - name: Node 24 + NODE_VERSION: 24 - name: Node 22 - NODE_VERSION: 22.4.1 + NODE_VERSION: 22 - name: Node 20 - NODE_VERSION: 20.15.1 - - name: Node 18 - NODE_VERSION: 18.20.4 + NODE_VERSION: 20 fail-fast: false name: Tests timeout-minutes: 5 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.NODE_VERSION }} - - name: Cache Node.js modules - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}- + cache: 'npm' - run: npm ci - run: npm test env: diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index a2ead28..dfa03dc 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -13,7 +13,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 cache: 'npm' - name: Install dependencies run: npm ci diff --git a/README.md b/README.md index 09cb2eb..0a5cc16 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![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) [![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases) -[![Node Version](https://img.shields.io/badge/nodejs-18,_20,_22-green.svg?logo=node.js&style=flat)](https://nodejs.org) +[![Node Version](https://img.shields.io/badge/nodejs-20,_22,_24-green.svg?logo=node.js&style=flat)](https://nodejs.org) [![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) @@ -37,7 +37,6 @@ The Parse Server API Mail Adapter enables Parse Server to send emails using any - [Mailgun](#mailgun) - [ZeptoMail](#zeptomail) - [Custom API](#custom-api) -- [Need help?](#need-help) # Installation @@ -379,8 +378,3 @@ const server = new ParseServer({ } }); ``` - -# Need help? - -- Ask on StackOverflow using the [parse-server](https://stackoverflow.com/questions/tagged/parse-server) tag. -- Search through existing [issues](https://github.com/parse-community/parse-server-api-mail-adapter/issues) or open a new issue. From 78b74712dad3ad2b1d03f2b0638c49fe9bf1337d Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 18 Nov 2025 14:16:01 +0100 Subject: [PATCH 2/2] node --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4b18ad..a84b399 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,11 +42,11 @@ jobs: matrix: include: - name: Node 24 - NODE_VERSION: 24 + NODE_VERSION: 24.11.1 - name: Node 22 - NODE_VERSION: 22 + NODE_VERSION: 22.21.1 - name: Node 20 - NODE_VERSION: 20 + NODE_VERSION: 20.19.5 fail-fast: false name: Tests timeout-minutes: 5