diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5f9a7ab..1dcaf81 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,6 +16,8 @@ jobs: node-version: "16.x" registry-url: "https://registry.npmjs.org" scope: "@stabilityprotocol" + # Se agrega el cache para Yarn + cache: "yarn" - name: Install dependencies run: yarn install --frozen-lockfile @@ -24,10 +26,9 @@ jobs: run: | yarn workspace @stabilityprotocol/config build yarn workspace @stabilityprotocol/provider build - - name: Publish package - run: | - npm publish packages/config --access public - npm publish packages/provider --access public env: - NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: | + yarn workspace @stabilityprotocol/config npm publish --access public + yarn workspace @stabilityprotocol/provider npm publish --access public diff --git a/packages/config/package.json b/packages/config/package.json index 036ae9d..ca2ed8c 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@stabilityprotocol/config", - "version": "1.3.0", + "version": "1.4.0", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/provider/package.json b/packages/provider/package.json index ea3fcd5..2e05639 100644 --- a/packages/provider/package.json +++ b/packages/provider/package.json @@ -1,6 +1,6 @@ { "name": "@stabilityprotocol/provider", - "version": "1.3.0", + "version": "1.4.0", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts",