Skip to content

Commit

Permalink
chore: update action
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielMartinezRodriguez committed Mar 25, 2024
1 parent e253c68 commit 73c78e3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # Define NPM_TOKEN aquí para que esté disponible en todos los pasos
steps:
- uses: actions/checkout@v3

Expand All @@ -24,8 +26,6 @@ jobs:
run: |
yarn workspace @stabilityprotocol/config build
yarn workspace @stabilityprotocol/provider build
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Test package
run: |
Expand All @@ -34,7 +34,5 @@ jobs:
- name: Publish package
run: |
yarn workspace @stabilityprotocol/config publish --non-interactive --access public
yarn workspace @stabilityprotocol/provider publish --non-interactive --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
yarn workspace @stabilityprotocol/config publish --non-interactive --access public
yarn workspace @stabilityprotocol/provider publish --non-interactive --access public

0 comments on commit 73c78e3

Please sign in to comment.