You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i've tried two things, setting it the env with gradle.
val buildFrontend by tasks.registering(PnpmTask::class) {
val version = project.property("version")
environment.set(
mapOf(
"VITE_MY_VERSION" to version.toString(),
"npm_config_//npm.pkg.github.com/:_authtoken" to authToken.toString()
)
)
pnpmCommand.set(listOf("build:web"))
dependsOn(tasks.pnpmInstall)
I'm looking for a way to do something like this. Does anyone know how I could set the token? I do not want to set it via project's
.npmrc
. Thank you!The text was updated successfully, but these errors were encountered: