From 63252fa81a8ffa4dd97c4f1a259df4ba016620d9 Mon Sep 17 00:00:00 2001 From: Anjey Tsibylskij <130153594+atldays@users.noreply.github.com> Date: Sun, 15 Feb 2026 22:43:18 +0200 Subject: [PATCH] ci: remove redundant `NODE_OPTIONS` for tests --- .github/workflows/ci.yml | 2 ++ package.json | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4707e81..9f25247 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,8 @@ jobs: name: Build, Lint, Test ${{ needs.compute-matrix.outputs.name_suffix }} needs: compute-matrix runs-on: ${{ matrix.os }} + env: + NODE_OPTIONS: --experimental-vm-modules permissions: contents: read strategy: diff --git a/package.json b/package.json index 79eb769..df2f0c4 100644 --- a/package.json +++ b/package.json @@ -50,9 +50,9 @@ "dev": "tsup --watch", "lint": "biome check .", "fix": "biome check --write --unsafe .", - "test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest", - "test:ci": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --ci --passWithNoTests --coverage", - "test:related": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --bail --passWithNoTests", + "test": "jest", + "test:ci": "jest --ci --passWithNoTests --coverage", + "test:related": "jest --bail --passWithNoTests", "typecheck": "tsc -p tsconfig.json --noEmit", "release": "release-it", "release:preview": "release-it --no-github.release --no-npm.publish --no-git.tag --ci"