From 0aded9f9fb6f0beeb408f86128bbe6f083297a09 Mon Sep 17 00:00:00 2001 From: Robert Chu Date: Wed, 31 Jul 2024 15:12:33 -0700 Subject: [PATCH] Update cd.yml --- .github/workflows/cd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 44e1cbb..afacd2a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -38,7 +38,9 @@ jobs: - run: yarn install --immutable - run: yarn build:hardhat - run: yarn build:tsc - - run: yarn npm whoami + - run: | + yarn npm login + yarn npm whoami env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - run: yarn npm publish --access public