From 8851c6bf4767c55ef6101bcffe0e06f3406cf6a8 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Thu, 16 Jun 2022 13:54:29 +0000 Subject: [PATCH] ci(jest): use built-in github action reporter --- jest.config.ts | 2 +- package.json | 1 - yarn.lock | 9 +-------- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/jest.config.ts b/jest.config.ts index 60490b835e4a80..cc25f456ac5271 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -25,7 +25,7 @@ const config: InitialOptionsTsJest = { }, }, modulePathIgnorePatterns: ['/dist/', '/__fixtures__/'], - reporters: ci ? ['default', 'jest-github-actions-reporter'] : ['default'], + reporters: ci ? ['default', 'github-actions'] : ['default'], setupFilesAfterEnv: [ 'jest-extended/all', 'expect-more-jest', diff --git a/package.json b/package.json index bedf90aa169d45..37c420fbea2b2c 100644 --- a/package.json +++ b/package.json @@ -280,7 +280,6 @@ "husky": "8.0.1", "jest": "28.1.1", "jest-extended": "2.0.0", - "jest-github-actions-reporter": "1.0.3", "jest-junit": "13.2.0", "jest-mock-extended": "2.0.6", "jest-silent-reporter": "0.5.0", diff --git a/yarn.lock b/yarn.lock index d48a9cb79c8b72..2da788f34fe948 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,7 @@ # yarn lockfile v1 -"@actions/core@1.8.2", "@actions/core@^1.2.0", "@actions/core@^1.2.6": +"@actions/core@1.8.2", "@actions/core@^1.2.6": version "1.8.2" resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.8.2.tgz#67539d669ae9b751430469e9ae4d83e0525973ac" integrity sha512-FXcBL7nyik8K5ODeCKlxi+vts7torOkoDAKfeh61EAkAy1HAvwn9uVzZBY0f15YcQTcZZ2/iSGBFHEuioZWfDA== @@ -5947,13 +5947,6 @@ jest-get-type@^28.0.2: resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-28.0.2.tgz#34622e628e4fdcd793d46db8a242227901fcf203" integrity sha512-ioj2w9/DxSYHfOm5lJKCdcAmPJzQXmbM/Url3rhlghrPvT3tt+7a/+oXc9azkKmLvoiXjtV83bEWqi+vs5nlPA== -jest-github-actions-reporter@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/jest-github-actions-reporter/-/jest-github-actions-reporter-1.0.3.tgz#6aa2b3a6599352e1043bbe42628a7f73a1ce48c2" - integrity sha512-IwLAKLSWLN8ZVfcfEEv6rfeWb78wKDeOhvOmH9KKXayKsKLSCwceopBcB+KUtwxfB5wYnT8Y9s2eZ+WdhA5yng== - dependencies: - "@actions/core" "^1.2.0" - jest-haste-map@^28.1.1: version "28.1.1" resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-28.1.1.tgz#471685f1acd365a9394745bb97c8fc16289adca3"