Skip to content

Commit 628385e

Browse files
authored
feat: Remove support for Node 12, 14, 15, 16, 17 (#53)
1 parent c59b990 commit 628385e

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,19 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node: [ '12', '14', '15', '16', '17', '18' ]
15-
timeout-minutes: 30
16-
env:
17-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
18-
COVERAGE_OPTION: ./node_modules/.bin/nyc
14+
node: [ '18', '20', '22' ]
15+
timeout-minutes: 15
16+
name: Node ${{ matrix.node }}
1917
steps:
20-
- uses: actions/checkout@v2
21-
- name: Use Node.js
22-
uses: actions/setup-node@v2
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
- name: Setup Node
21+
uses: actions/setup-node@v4
2322
with:
2423
node-version: ${{ matrix.node }}
25-
- name: Cache Node.js modules
26-
uses: actions/cache@v2
27-
with:
28-
path: ~/.npm
29-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
30-
restore-keys: |
31-
${{ runner.os }}-node-
32-
- run: npm ci
24+
cache: 'npm'
25+
- name: Install dependencies
26+
run: npm ci
3327
- run: npm run coverage
3428
env:
3529
CI: true
@@ -38,3 +32,6 @@ jobs:
3832
with:
3933
fail_ci_if_error: true
4034
token: ${{ secrets.CODECOV_TOKEN }}
35+
concurrency:
36+
group: ${{ github.workflow }}-${{ github.ref }}
37+
cancel-in-progress: true

README.md

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

8+
[![Node Version](https://img.shields.io/badge/nodejs-18,_20,_22-green.svg?logo=node.js&style=flat)](https://nodejs.org)
89
[![npm latest version](https://img.shields.io/npm/v/@parse/gcs-files-adapter.svg)](https://www.npmjs.com/package/@parse/gcs-files-adapter)
910

1011
---

0 commit comments

Comments
 (0)