From f27d52d6b76350ab7425ba0bec2e8cc4614d1970 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Mon, 17 Jun 2024 22:04:28 +0200 Subject: [PATCH] jest: keep original github env vars for integration tests Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- jest.config.itg.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/jest.config.itg.ts b/jest.config.itg.ts index 0e1365e..56f56e0 100644 --- a/jest.config.itg.ts +++ b/jest.config.itg.ts @@ -22,10 +22,6 @@ const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'docker-actions-toolkit-')) process.env = Object.assign({}, process.env, { TEMP: tmpDir, - GITHUB_REPOSITORY: 'docker/actions-toolkit', - GITHUB_RUN_ATTEMPT: 2, - GITHUB_RUN_ID: 2188748038, - GITHUB_RUN_NUMBER: 15, RUNNER_TEMP: path.join(tmpDir, 'runner-temp'), RUNNER_TOOL_CACHE: path.join(tmpDir, 'runner-tool-cache') }) as {