diff --git a/e2e/01-esm/vite.config.ts b/e2e/01-esm/vite.config.ts index 9611434..1430068 100644 --- a/e2e/01-esm/vite.config.ts +++ b/e2e/01-esm/vite.config.ts @@ -1,9 +1,8 @@ import { defineConfig } from 'vitest/config'; -import GithubActionsReporter from 'vitest-github-actions-reporter'; export default defineConfig({ test: { include: ['**/*.e2e.ts'], - reporters: process.env['GITHUB_ACTIONS'] ? ['default', new GithubActionsReporter()] : 'default', + reporters: process.env['GITHUB_ACTIONS'] ? ['default', 'github-actions'] : 'default', }, }); diff --git a/e2e/03-browser/vite.config.ts b/e2e/03-browser/vite.config.ts index 47dd5d5..7b6632f 100644 --- a/e2e/03-browser/vite.config.ts +++ b/e2e/03-browser/vite.config.ts @@ -1,10 +1,9 @@ import { defineConfig } from 'vitest/config'; -import GithubActionsReporter from 'vitest-github-actions-reporter'; export default defineConfig({ test: { include: ['**/*.e2e.ts'], - reporters: process.env['GITHUB_ACTIONS'] ? ['default', new GithubActionsReporter()] : 'default', + reporters: process.env['GITHUB_ACTIONS'] ? ['default', 'github-actions'] : 'default', browser: { enabled: true, name: 'chrome', diff --git a/package-lock.json b/package-lock.json index 000ca35..bc0dc68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,6 @@ "tsx": "^4.19.1", "typescript": "^5.6.2", "vitest": "^2.1.1", - "vitest-github-actions-reporter": "^0.11.1", "webdriverio": "^9.0.9" }, "engines": { @@ -110,25 +109,6 @@ "node": ">=18.0.0" } }, - "node_modules/@actions/core": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.0.tgz", - "integrity": "sha512-2aZDDa3zrrZbP5ZYg159sNoLRb61nQ7awl5pSvIq5Qpj81vwDzdMRKzkWJGJuwVvWpvZKx7vspJALyvaaIQyug==", - "dev": true, - "dependencies": { - "@actions/http-client": "^2.0.1", - "uuid": "^8.3.2" - } - }, - "node_modules/@actions/http-client": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.1.0.tgz", - "integrity": "sha512-BonhODnXr3amchh4qkmjPMUO8mFi/zLaaCeCAJZqch8iQqyDnVIkySjB38VHAC8IJ+bnlgfOqlhpyCUZHlQsqw==", - "dev": true, - "dependencies": { - "tunnel": "^0.0.6" - } - }, "node_modules/@ampproject/remapping": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", @@ -13376,15 +13356,6 @@ "@esbuild/win32-x64": "0.23.1" } }, - "node_modules/tunnel": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", - "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", - "dev": true, - "engines": { - "node": ">=0.6.11 <=0.7.0 || >=0.7.3" - } - }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -13704,15 +13675,6 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "dev": true }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true, - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", @@ -13879,21 +13841,6 @@ } } }, - "node_modules/vitest-github-actions-reporter": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/vitest-github-actions-reporter/-/vitest-github-actions-reporter-0.11.1.tgz", - "integrity": "sha512-ZHHB0wBgOPhMYCB17WKVlJZa+5SdudBZFoVoebwfq3ioIUTeLQGYHwh85vpdJAxRghLP8d0qI/6eCTueGyDVXA==", - "dev": true, - "dependencies": { - "@actions/core": "^1.10.0" - }, - "engines": { - "node": ">=14.16.0" - }, - "peerDependencies": { - "vitest": ">=0.28.5" - } - }, "node_modules/wait-port": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/wait-port/-/wait-port-1.1.0.tgz", @@ -14472,25 +14419,6 @@ } }, "dependencies": { - "@actions/core": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.0.tgz", - "integrity": "sha512-2aZDDa3zrrZbP5ZYg159sNoLRb61nQ7awl5pSvIq5Qpj81vwDzdMRKzkWJGJuwVvWpvZKx7vspJALyvaaIQyug==", - "dev": true, - "requires": { - "@actions/http-client": "^2.0.1", - "uuid": "^8.3.2" - } - }, - "@actions/http-client": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.1.0.tgz", - "integrity": "sha512-BonhODnXr3amchh4qkmjPMUO8mFi/zLaaCeCAJZqch8iQqyDnVIkySjB38VHAC8IJ+bnlgfOqlhpyCUZHlQsqw==", - "dev": true, - "requires": { - "tunnel": "^0.0.6" - } - }, "@ampproject/remapping": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", @@ -16641,29 +16569,9 @@ "tsx": "^4.19.1", "typescript": "^5.6.2", "vitest": "^2.1.1", - "vitest-github-actions-reporter": "^0.11.1", "webdriverio": "^9.0.9" }, "dependencies": { - "@actions/core": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.0.tgz", - "integrity": "sha512-2aZDDa3zrrZbP5ZYg159sNoLRb61nQ7awl5pSvIq5Qpj81vwDzdMRKzkWJGJuwVvWpvZKx7vspJALyvaaIQyug==", - "dev": true, - "requires": { - "@actions/http-client": "^2.0.1", - "uuid": "^8.3.2" - } - }, - "@actions/http-client": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.1.0.tgz", - "integrity": "sha512-BonhODnXr3amchh4qkmjPMUO8mFi/zLaaCeCAJZqch8iQqyDnVIkySjB38VHAC8IJ+bnlgfOqlhpyCUZHlQsqw==", - "dev": true, - "requires": { - "tunnel": "^0.0.6" - } - }, "@ampproject/remapping": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", @@ -25651,12 +25559,6 @@ } } }, - "tunnel": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", - "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", - "dev": true - }, "type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -25862,12 +25764,6 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "dev": true }, - "uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true - }, "validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", @@ -25935,15 +25831,6 @@ "why-is-node-running": "^2.3.0" } }, - "vitest-github-actions-reporter": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/vitest-github-actions-reporter/-/vitest-github-actions-reporter-0.11.1.tgz", - "integrity": "sha512-ZHHB0wBgOPhMYCB17WKVlJZa+5SdudBZFoVoebwfq3ioIUTeLQGYHwh85vpdJAxRghLP8d0qI/6eCTueGyDVXA==", - "dev": true, - "requires": { - "@actions/core": "^1.10.0" - } - }, "wait-port": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/wait-port/-/wait-port-1.1.0.tgz", @@ -33227,12 +33114,6 @@ } } }, - "tunnel": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", - "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", - "dev": true - }, "type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -33438,12 +33319,6 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "dev": true }, - "uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true - }, "validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", @@ -33511,15 +33386,6 @@ "why-is-node-running": "^2.3.0" } }, - "vitest-github-actions-reporter": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/vitest-github-actions-reporter/-/vitest-github-actions-reporter-0.11.1.tgz", - "integrity": "sha512-ZHHB0wBgOPhMYCB17WKVlJZa+5SdudBZFoVoebwfq3ioIUTeLQGYHwh85vpdJAxRghLP8d0qI/6eCTueGyDVXA==", - "dev": true, - "requires": { - "@actions/core": "^1.10.0" - } - }, "wait-port": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/wait-port/-/wait-port-1.1.0.tgz", diff --git a/package.json b/package.json index f8dbdc2..846d80d 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,6 @@ "tsx": "^4.19.1", "typescript": "^5.6.2", "vitest": "^2.1.1", - "vitest-github-actions-reporter": "^0.11.1", "webdriverio": "^9.0.9" }, "engines": { diff --git a/vite.config.mts b/vite.config.mts index d5f75d7..3f4f7a2 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -1,8 +1,7 @@ import { defineConfig } from 'vitest/config'; -import GithubActionsReporter from 'vitest-github-actions-reporter'; export default defineConfig({ test: { - reporters: process.env['GITHUB_ACTIONS'] ? ['default', new GithubActionsReporter()] : 'default', + reporters: process.env['GITHUB_ACTIONS'] ? ['default', 'github-actions'] : 'default', }, });