From 650e9b960cdf9dec933d3498e4573b0cecebe951 Mon Sep 17 00:00:00 2001 From: Nesopie <87437291+Nesopie@users.noreply.github.com> Date: Tue, 24 Jun 2025 15:41:11 +0530 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 35c66b444..c57f55bf0 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -47,10 +47,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: | - yarn config set npmScopes.selfxyz.npmAuthToken ${{ secrets.NPM_AUTH_TOKEN }} - yarn config set npmPublishAccess public - + - name: Set up Node.js uses: actions/setup-node@v4 with: @@ -59,6 +56,10 @@ jobs: - name: Install Dependencies uses: ./.github/actions/yarn-install + + - run: | + yarn config set npmScopes.selfxyz.npmAuthToken ${{ secrets.NPM_AUTH_TOKEN }} + yarn config set npmPublishAccess public - name: Build package run: |