From d4edcc2b093c7b31ecb14860af16a61373163a0e Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Tue, 27 Feb 2024 00:31:28 -0600 Subject: [PATCH] Drop support for node v12 (#210) * drop support for node v12 * Update npmpublish.yml * Update package.json --- .github/workflows/nodejs.yml | 2 +- .github/workflows/npmpublish.yml | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ec1a35bb..2295b0f6 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x] + node-version: [14.x, 16.x, 18.x, 20.x] steps: - uses: actions/checkout@v4.1.1 diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index f1ca8d16..306436db 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4.1.1 - uses: actions/setup-node@v4.0.2 with: - node-version: 12 + node-version: 16 - run: npm ci - run: npm test @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v4.1.1 - uses: actions/setup-node@v4.0.2 with: - node-version: 12 + node-version: 16 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm publish diff --git a/package.json b/package.json index 9b9e8860..5f4c1640 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "index.js" ], "engines": { - "node": ">= 12.0.0" + "node": ">= 14" }, "scripts": { "test": "mocha --reporter dot",