Skip to content

Commit

Permalink
fix: github action
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielMartinezRodriguez committed Apr 11, 2024
1 parent e0a2450 commit 7bd0b7b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
scope: "@stabilityprotocol"
# Se agrega el cache para Yarn
cache: "yarn"

- name: Install dependencies
Expand All @@ -26,9 +25,12 @@ jobs:
run: |
yarn workspace @stabilityprotocol/config build
yarn workspace @stabilityprotocol/provider build
- name: Publish package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn workspace @stabilityprotocol/config npm publish --access public
yarn workspace @stabilityprotocol/provider npm publish --access public
cd packages/config
npm publish --access public
cd ../../packages/provider
npm publish --access public

0 comments on commit 7bd0b7b

Please sign in to comment.