test(integration): updated the simulated environment to omit the GITHUB_ACTIONS variable from the test env

This commit is contained in:
Matt Travi 2022-12-02 14:20:04 -06:00
parent d13ea9280e
commit f32fd5889a
No known key found for this signature in database
GPG Key ID: CB62529BDFD29894

View File

@ -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,