From 5b9605f32edae5bbc3d0f889a611f518db647109 Mon Sep 17 00:00:00 2001 From: James Prior Date: Wed, 4 Dec 2024 16:32:40 +0000 Subject: [PATCH] Update CI node versions --- .github/workflows/build.yaml | 2 +- .github/workflows/lint.yaml | 2 +- .github/workflows/tests.yaml | 2 +- rollup.config.mjs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fd7fb91..9ef8026 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 19.x] + node-version: [20.x, 22.x, 23.x] steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 00d5cf1..726420a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -10,6 +10,6 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: "18.x" + node-version: "22.x" - run: npm install --include=dev - run: npm run lint diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c4fcd90..caf3db3 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 19.x, 20.x] + node-version: [18.x, 20.x, 22.x, 23.x] steps: - uses: actions/checkout@v3 with: diff --git a/rollup.config.mjs b/rollup.config.mjs index 20615ef..457b287 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -3,7 +3,7 @@ import resolve from "@rollup/plugin-node-resolve"; import { babel } from "@rollup/plugin-babel"; import replace from "@rollup/plugin-replace"; import terser from "@rollup/plugin-terser"; -import pkg from "./package.json" assert { type: "json" }; +import pkg from "./package.json" with { type: "json" }; const extensions = [".js", ".jsx", ".ts", ".tsx"]; const name = "json_p3";