Workspace shared variables
frank-embleton
PROOP

3 months ago

We use a private NPM registry and need always to set an NPM token. Is there any way to do this at a Workspace level?

Solved

1 Replies

Railway
BOT

3 months ago

There is no workspace-level variable feature. The closest option is shared variables, which are scoped to a project and can be referenced across all services within that project using ${{shared.VARIABLE_KEY}}. You would need to define the NPM token as a shared variable in each project separately.


Status changed to Awaiting User Response Railway 3 months ago


Status changed to Solved frank-embleton 3 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...