From 51fd491f8a2c144e0e31d580e4756fd6dc840721 Mon Sep 17 00:00:00 2001 From: Scott Prue Date: Mon, 1 May 2023 14:20:28 -0600 Subject: [PATCH] fix(ci): include both methods of configuring npm (#536) --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ec3c0b66..38a1241a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,7 +29,9 @@ jobs: cache: 'yarn' - name: Configure package manager - run: yarn config set npmAuthToken ${{ secrets.NPM_TOKEN }} + run: | + npm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }} + yarn config set npmAuthToken ${{ secrets.NPM_TOKEN }} - name: Install Dependencies run: yarn install --immutable