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)
Activity
deepy commentedon Feb 13, 2024
Based on the constraints I'd recommend using an environment variable
https://pnpm.io/npmrc#url_authtoken
pnpm/pnpm#3141 (comment)
antpaw commentedon Feb 13, 2024
Thanks you for your reply!
i've tried two things, setting it the env with gradle.
it still errors out on install with
401and setting it directly in bash
this errors out with
not validbecause of all the special chars like . and / right?It looks like that the env example is only working for github actions? I'm running this on jenkins