From f32fd5889a4d2bd01c8a3e70597f066bf12ef40a Mon Sep 17 00:00:00 2001 From: Matt Travi Date: Fri, 2 Dec 2022 14:20:04 -0600 Subject: [PATCH] test(integration): updated the simulated environment to omit the `GITHUB_ACTIONS` variable from the test env --- test/integration.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration.test.js b/test/integration.test.js index 47f67117..12d0b317 100644 --- a/test/integration.test.js +++ b/test/integration.test.js @@ -30,7 +30,7 @@ const { readJson, writeJson } = fsExtra; /* eslint camelcase: ["error", {properties: "never"}] */ // Environment variables used with semantic-release cli (similar to what a user would setup) -const { GITHUB_ACTION, GITHUB_TOKEN, ...processEnvWithoutGitHubActionsVariables } = process.env; +const { GITHUB_ACTIONS, GITHUB_TOKEN, ...processEnvWithoutGitHubActionsVariables } = process.env; const env = { ...processEnvWithoutGitHubActionsVariables, ...npmRegistry.authEnv,