From 0e1783f5078ce57804d8efbadb67cf36d3e0d742 Mon Sep 17 00:00:00 2001 From: Thibaud Date: Wed, 22 Nov 2023 16:37:42 +0100 Subject: [PATCH] build: add private sdk (#119) --- .github/workflows/format_token_list.yml | 2 +- .nprmc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .nprmc diff --git a/.github/workflows/format_token_list.yml b/.github/workflows/format_token_list.yml index 9ecf207..82b6765 100644 --- a/.github/workflows/format_token_list.yml +++ b/.github/workflows/format_token_list.yml @@ -20,7 +20,7 @@ jobs: node-version: "14" - name: Install dependencies shell: bash - run: yarn install --frozen-lockfile --verbose + run: echo "//npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}" >> .npmrc && yarn install --frozen-lockfile --verbose && rm -f .npmrc - name: Validate JSON file run: yarn validate - name: Discord notification (failure) diff --git a/.nprmc b/.nprmc new file mode 100644 index 0000000..c1139c9 --- /dev/null +++ b/.nprmc @@ -0,0 +1 @@ +@angleprotocol:registry=https://npm.pkg.github.com \ No newline at end of file