From 5fb29d48332c45e7a6e0112897fe523a45e42937 Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Tue, 1 Nov 2022 13:20:29 +0100 Subject: [PATCH] fix: switch to current Node.js LTS version 18 --- .github/workflows/code-style.yaml | 2 +- .github/workflows/test-and-release.yaml | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code-style.yaml b/.github/workflows/code-style.yaml index 6d01cfe..f267a06 100644 --- a/.github/workflows/code-style.yaml +++ b/.github/workflows/code-style.yaml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: "16.x" + node-version: "18.x" - name: Keep npm cache around to speed up installs uses: actions/cache@v3 diff --git a/.github/workflows/test-and-release.yaml b/.github/workflows/test-and-release.yaml index 642b0bc..69a33ee 100644 --- a/.github/workflows/test-and-release.yaml +++ b/.github/workflows/test-and-release.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "16.x" + node-version: "18.x" - name: Authenticate with NPM registry run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - name: Keep npm cache around to speed up installs diff --git a/package.json b/package.json index 1aacd0d..ba6bbfc 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ ] }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "release": {