From dbb272a8a135359fb479c2db95f4806a1950dad9 Mon Sep 17 00:00:00 2001 From: dpiercey Date: Thu, 17 Oct 2024 13:00:22 -0700 Subject: [PATCH] chore: update ci node version to 20 --- .github/workflows/ci.yml | 6 +++--- packages/language-server/build.mts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 946e80fd..44fe4306 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Use node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: npm - name: Install dependencies run: npm ci @@ -37,7 +37,7 @@ jobs: strategy: fail-fast: false matrix: - node: [16] + node: [20] steps: - name: Checkout code uses: actions/checkout@v3 @@ -60,7 +60,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: npm - name: Install dependencies run: npm ci diff --git a/packages/language-server/build.mts b/packages/language-server/build.mts index 84d47705..7d3e9a23 100644 --- a/packages/language-server/build.mts +++ b/packages/language-server/build.mts @@ -7,7 +7,7 @@ const opts: BuildOptions = { outdir: "dist", outbase: "src", platform: "node", - target: ["node16"], + target: ["node20"], sourcemap: "linked", entryPoints: ["src/index.ts"], absWorkingDir: path.dirname(fileURLToPath(import.meta.url)),