diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6aff6fab1..07111a82c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: node-version-file: '.nvmrc' - name: Run tests with coverage - run: vp run test + run: vp run test:ci - name: Archive code coverage results uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 diff --git a/package.json b/package.json index 73ec8b4cf..24128338c 100644 --- a/package.json +++ b/package.json @@ -77,6 +77,7 @@ "format": "vp fmt", "format:check": "vp fmt --check", "test": "vp test --coverage --run --project 'happy-dom [preload, renderer]' --project 'node [main, shared]'", + "test:ci": "vp test --coverage --run --project 'happy-dom [preload, renderer]' --project 'node [main, shared]' --reporter=default --reporter=github-actions", "test:watch": "vp test --watch --coverage", "test:ui": "vp test --ui", "test:visual": "scripts/visual.sh",