From e0aacf4b505bea8a6fb321041eff726dd581058e Mon Sep 17 00:00:00 2001 From: baurine <2008.hbl@gmail.com> Date: Fri, 28 Jun 2024 15:27:10 +0800 Subject: [PATCH] chore: set npmrc --- netlify.toml | 2 ++ netlify/.npmrc | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 netlify.toml create mode 100644 netlify/.npmrc diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..50fc566 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,2 @@ +[build.environment] + NPM_CONFIG_USERCONFIG = "./netlify/.npmrc" diff --git a/netlify/.npmrc b/netlify/.npmrc new file mode 100644 index 0000000..cebacb3 --- /dev/null +++ b/netlify/.npmrc @@ -0,0 +1,2 @@ +@tidbcloud:registry=https://npm.pkg.github.com +//npm.pkg.github.com/:_authToken=${GITHUB_PKG_TOKEN}