From dd70dd608cfeaa7a158f70fb1a73fb04a331e458 Mon Sep 17 00:00:00 2001 From: LucaDulz Date: Thu, 10 Oct 2024 10:38:31 +0000 Subject: [PATCH] Update Node.js version for CI --- .github/workflows/ci.yml | 4 ++-- package-lock.json | 3 +++ tests/data_for_tests.ts | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c903dac..d193504 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,14 +10,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [20.x] steps: - name: Checkout repository uses: actions/checkout@v3 - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 20.x #${{ matrix.node-version }} - name: Install dependencies run: npm install - name: Run CI diff --git a/package-lock.json b/package-lock.json index 445bf7b..8c2bb36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,6 +27,9 @@ "vite": "^5.4.8", "vite-plugin-dts": "^4.2.2", "vitest": "^2.1.1" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/tests/data_for_tests.ts b/tests/data_for_tests.ts index 9704bce..2b534f5 100644 --- a/tests/data_for_tests.ts +++ b/tests/data_for_tests.ts @@ -17,7 +17,7 @@ export function loadInstance( export function loadMinimalInstance(): data.DicomDict { // File Meta Information - console.log("test"); + const meta = { FileMetaInformationGroupLength: "222", // FileMetaInformationVersion: new Uint8Array([0x00, 0x01]),