diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a424822e..fe1875f53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,21 +40,14 @@ jobs: strategy: matrix: include: - - name: Node 14 - NODE_VERSION: 14.21.1 - - name: Node 16 - NODE_VERSION: 16.18.1 - name: Node 18 - NODE_VERSION: 18.12.1 - - name: Node 19 - NODE_VERSION: 19.3.0 + NODE_VERSION: 18.19.0 + - name: Node 20 + NODE_VERSION: 20.10.0 fail-fast: false steps: - name: Fix usage of insecure GitHub protocol run: sudo git config --system url."https://github".insteadOf "git://github" - - name: Fix git protocol for Node 14 - if: ${{ startsWith(matrix.NODE_VERSION, '14.') }} - run: sudo git config --system url."https://github".insteadOf "ssh://git@github" - uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index 95287d2c9..b3803cd57 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -17,7 +17,7 @@ jobs: persist-credentials: false - uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 20 registry-url: https://registry.npmjs.org/ cache: npm - run: npm ci @@ -42,7 +42,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 18 cache: npm - name: Generate Docs run: | diff --git a/.github/workflows/release-manual-docs.yml b/.github/workflows/release-manual-docs.yml index 83b950de7..4e810fe82 100644 --- a/.github/workflows/release-manual-docs.yml +++ b/.github/workflows/release-manual-docs.yml @@ -15,9 +15,9 @@ jobs: with: ref: ${{ github.event.inputs.tag }} - name: Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 18 cache: npm - name: Generate Docs run: | diff --git a/README.md b/README.md index a79506470..fb7a38ae9 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![Snyk Badge](https://snyk.io/test/github/parse-community/Parse-SDK-JS/badge.svg)](https://snyk.io/test/github/parse-community/Parse-SDK-JS) [![Coverage](http://codecov.io/github/parse-community/Parse-SDK-JS/coverage.svg?branch=alpha)](http://codecov.io/github/parse-community/Parse-SDK-JS?branch=alpha) -[![Node Version](https://img.shields.io/badge/nodejs-14,_16,_18-green.svg?logo=node.js&style=flat)](https://nodejs.org/) +[![Node Version](https://img.shields.io/badge/nodejs-18,_20-green.svg?logo=node.js&style=flat)](https://nodejs.org/) [![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases) [![npm latest version](https://img.shields.io/npm/v/parse/latest.svg)](https://www.npmjs.com/package/parse) @@ -97,10 +97,8 @@ Parse JS SDK is continuously tested with the most recent releases of Node.js to | Version | Latest Version | End-of-Life | Compatible | |------------|----------------|-------------|------------| -| Node.js 14 | 14.19.1 | April 2023 | ✅ Yes | -| Node.js 16 | 16.19.0 | September 2023 | ✅ Yes | -| Node.js 18 | 18.12.1 | April 2025 | ✅ Yes | -| Node.js 19 | 19.3.0 | June 2023 | ✅ Yes | +| Node.js 18 | 18.19.0 | April 2025 | ✅ Yes | +| Node.js 20 | 20.10.0 | April 2026 | ✅ Yes | ## Upgrading to Parse SDK 2.0.0 diff --git a/package-lock.json b/package-lock.json index 967abcb04..cd7fd4209 100644 --- a/package-lock.json +++ b/package-lock.json @@ -73,7 +73,7 @@ "vinyl-source-stream": "2.0.0" }, "engines": { - "node": ">=14.21.0 <17 || >=18 <20" + "node": ">=18 <21" }, "optionalDependencies": { "crypto-js": "4.2.0" diff --git a/package.json b/package.json index bbe929853..c3b89c292 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ ] }, "engines": { - "node": ">=14.21.0 <17 || >=18 <20" + "node": ">=18 <21" }, "jest": { "automock": true,