From 14c462d540d079851a06a7a8180da773560cbf4b Mon Sep 17 00:00:00 2001 From: GabrielMartinezRodriguez Date: Thu, 11 Apr 2024 17:12:20 +0200 Subject: [PATCH] chore: update blockchain --- .github/workflows/publish.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 68e20ec..f0967bf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,10 +14,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: "16.x" - registry-url: "https://registry.npmjs.org/" - scope: "@your-scope" - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + registry-url: "https://registry.npmjs.org" + scope: "@stabilityprotocol" + cache: "yarn" + - name: Install dependencies run: yarn install --frozen-lockfile @@ -25,15 +25,12 @@ jobs: run: | yarn workspace @stabilityprotocol/config build yarn workspace @stabilityprotocol/provider build - - name: Publish config package - run: | - cd packages/config - npm publish --access public + + - name: Publish package env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Publish provider package run: | - cd packages/provider + cd packages/config + npm publish --access public + cd ../../packages/provider npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}