Skip to content

fix(core): add missing supported CI providers to NxCloud type#29008

Merged
AgentEnder merged 1 commit intonrwl:masterfrom
tinesoft:fix/cnw-options
Nov 20, 2024
Merged

fix(core): add missing supported CI providers to NxCloud type#29008
AgentEnder merged 1 commit intonrwl:masterfrom
tinesoft:fix/cnw-options

Conversation

@tinesoft
Copy link
Copy Markdown
Contributor

@tinesoft tinesoft commented Nov 20, 2024

Current Behavior

CreateWorkspaceOptions that is exposed via the create-nx-workspace package,

nxCloud: NxCloud; // Enable Nx Cloud

has a field named NxCloud that only contains the following types:,

export type NxCloud = 'yes' | 'github' | 'circleci' | 'skip';

while more CI providers are in fact supported by the underlying code (see NxCloudChoices array in ab-testing.ts):

export const NxCloudChoices = [

Expected Behavior

Align the type of NxCloud to match all supported values from NxCloudChoices

Related Issue(s)

Fixes #

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Nov 20, 2024 3:35pm

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Nov 20, 2024

@AgentEnder AgentEnder merged commit 60a9f81 into nrwl:master Nov 20, 2024
FrozenPandaz pushed a commit that referenced this pull request Nov 22, 2024
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants