From 73e9ff24cd434edc16b071b87deaae15c48138ef Mon Sep 17 00:00:00 2001 From: Eemeli Aro Date: Sun, 3 Apr 2022 12:54:00 +0300 Subject: [PATCH] chore!: Drop Node.js 12 support BREAKING CHANGE: As Node.js 12 is going out of maintenance support, it is dropped from the CI tests. The library should continue to work with it, but that is no longer guaranteed. --- .github/workflows/nodejs.yml | 5 ++--- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index fca69be6..0976753f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [12.x, 14.x, 16.x] + node-version: [14.x, 16.x] steps: - uses: actions/checkout@v2 @@ -36,7 +36,6 @@ jobs: - uses: actions/checkout@v2 - name: Use Node.js uses: actions/setup-node@v1 - with: - node-version: 14.x + with: { node-version: 16.x } - run: npm ci - run: npm run lint diff --git a/package-lock.json b/package-lock.json index 889a2a83..80d8a1c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "typescript": "^4.3.5" }, "engines": { - "node": ">= 12" + "node": ">= 14" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 1c949bb7..804b2a50 100644 --- a/package.json +++ b/package.json @@ -89,6 +89,6 @@ "typescript": "^4.3.5" }, "engines": { - "node": ">= 12" + "node": ">= 14" } }