From c90760eda1aae8a22650b691fd53f23b0c21046e Mon Sep 17 00:00:00 2001 From: CJ Date: Tue, 26 Nov 2024 10:07:35 -0800 Subject: [PATCH] upgrade node to LTS --- .github/workflows/node.js.yml | 2 +- .github/workflows/npm-publish.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7b69169..e5adb86 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [18.x, 20.x, 22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 289a29f..0adf991 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 22 - run: npm ci - run: npm test @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 22 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm publish