From a357af80450c505b35094af2322a93b90e8ffb52 Mon Sep 17 00:00:00 2001 From: Steven Luscher Date: Mon, 3 Apr 2023 16:30:52 -0700 Subject: [PATCH] chore: configure pnpm for deploy with NPM token --- .github/workflows/cicd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 5def73d48bd..fd423ccd189 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -49,7 +49,9 @@ jobs: run: scripts/setup-test-validator.sh - name: Publish NPM - run: pnpm publish-packages + run: | + echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc + pnpm publish-packages env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}