From 91835ea68e4b9ffe78eeae19bf8b309efb42eced Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Wed, 3 Jan 2024 12:36:36 -0800 Subject: [PATCH] build!: support node.js 18 and up --- .github/workflows/ci.yaml | 6 +++--- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f2ae0df..fa1e702 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16, 18] + node: [18, 20] steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - run: npm install - run: npm run lint release: @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - run: npm install - run: npx semantic-release env: diff --git a/package-lock.json b/package-lock.json index 120354e..9024743 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "xo": "^0.56.0" }, "engines": { - "node": ">=12.20.0" + "node": ">=18" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index f8caf1e..8bcd7d5 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,6 @@ "xo": "^0.56.0" }, "engines": { - "node": ">=12.20.0" + "node": ">=18" } }