From a8726ae9f8acdf4e2556ec88402212bd9885f8d1 Mon Sep 17 00:00:00 2001 From: Merit Date: Wed, 3 Jul 2024 11:26:36 -0700 Subject: [PATCH] Add auth to other actions Signed-off-by: Merit --- .github/workflows/lint.yml | 3 +++ .github/workflows/release.yml | 3 +++ .github/workflows/test.yml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9d6a51e7..c8c45b7a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,6 +26,9 @@ jobs: node-version: 18.x cache: 'npm' + - name: Authenticate with private NPM package + run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc + - name: Install Dependencies run: npm ci diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ecc033fe..e4d2f180 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,9 @@ jobs: node-version: 18.x cache: 'npm' + - name: Authenticate with private NPM package + run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc + - name: Install Dependencies run: npm ci diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8165efb..6a664401 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,6 +32,9 @@ jobs: node-version: 18 cache: 'npm' + - name: Authenticate with private NPM package + run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc + - name: Install dependencies run: npm ci