From e07f0a84b1eec691efad0b3968b0cb342fc07d67 Mon Sep 17 00:00:00 2001 From: Kazuhito Hokamura Date: Thu, 21 Mar 2024 23:32:15 +0900 Subject: [PATCH] Fix vitest config --- .github/workflows/test.yml | 1 + package.json | 3 --- vite.config.mts | 9 --------- 3 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 vite.config.mts diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea645a3..c568be6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,5 +19,6 @@ jobs: - name: run test run: | npm ci + npm install @rollup/rollup-linux-x64-gnu npm run lint npm run test diff --git a/package.json b/package.json index bb4d2a2..fb4c8e2 100644 --- a/package.json +++ b/package.json @@ -51,8 +51,5 @@ "prettier": "^3.2.5", "typescript": "^5.4.2", "vitest": "^1.3.1" - }, - "overrides": { - "rollup": "npm:@rollup/wasm-node" } } diff --git a/vite.config.mts b/vite.config.mts deleted file mode 100644 index 0620039..0000000 --- a/vite.config.mts +++ /dev/null @@ -1,9 +0,0 @@ -import { defineConfig } from "vitest/config"; - -// eslint-disable-next-line import/no-default-export -export default defineConfig({ - esbuild: { - target: "esnext", - platform: "node", - }, -});