From d20c1509b26682877cedfff827508437a1a69dd4 Mon Sep 17 00:00:00 2001 From: Thomas Wilkerling Date: Thu, 17 Apr 2025 15:07:54 +0200 Subject: [PATCH] set type to "module" in test/package.json --- .github/workflows/node.js.yml | 2 +- test/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index eb66963..368090a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -52,7 +52,7 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm ci - - run: npm run build --if-present + - run: npm run build:bundle --if-present - run: npm ci working-directory: test - run: npm test diff --git a/test/package.json b/test/package.json index 9b4f950..b242c59 100644 --- a/test/package.json +++ b/test/package.json @@ -1,5 +1,6 @@ { "name": "flexsearch-test", + "type": "module", "scripts": { "test": "mocha ./*.js --exit", "test:coverage": "c8 -c ./.c8rc.json mocha ./*.js --exit",