Workspace shared variables
frank-embleton
PROOP

a month 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

a month 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 about 1 month ago


Status changed to Solved frank-embleton about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...