Next.js Discord

Discord Forum

NPM RC in github actions (.npmrc)

Unanswered
Chien Français Tricolore posted this in #help-forum
Open in Discord
Chien Français TricoloreOP
This is driving me crazy. Does someone know how to add the .npmrc values to the build steps when using github actions?
Adding them with the automatic vercel deployment is as simple as creating an environment variable in vercel.app called NPM_RC and adding the values of the file there, but seems like there isn't a way of doing that with a simple environment variable when deploying with github actions/workflow.

0 Replies