From b6906412342ae9c93db61d226fd6e465c0497f6c Mon Sep 17 00:00:00 2001 From: Billy Janitsch Date: Tue, 4 Jun 2024 14:21:11 -0400 Subject: [PATCH] Require Node >=18.12 (#7) --- .github/workflows/ci.yml | 9 ++++----- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 277948e..1d710f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,13 +4,12 @@ on: [push, pull_request] jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 18 cache: npm - - run: npm install -g npm@9 - run: npm ci - run: npm test diff --git a/package-lock.json b/package-lock.json index cbdf358..846090a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "typescript": "~5.1.6" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.12.0" }, "peerDependencies": { "prettier": "^3.0.0" diff --git a/package.json b/package.json index 2322bda..1711462 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "access": "public" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.12.0" }, "main": "index.js", "files": [