From 08054cbe019d4f564078d7b256110c6f26259321 Mon Sep 17 00:00:00 2001 From: Jason Madigan Date: Wed, 21 Aug 2024 15:00:24 +0100 Subject: [PATCH] auth: NPM --- .github/workflows/publish.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index b9cf4d5..d255af5 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -24,7 +24,8 @@ jobs: - run: npm run test:ci + - name: Authenticate with NPM + run: npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} + - name: Publish to NPM run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}