From 0f112c5d01c95a864fe0b911d0b1bfb5940a7fed 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 66cd0b6..e16d4ab 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 8c5b73e..e67e4dc 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ ] }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "release": {