Skip to content

Commit

Permalink
Merge pull request #7 from CartoDB/feature/publishusing-lerna
Browse files Browse the repository at this point in the history
Add lerna publish
  • Loading branch information
Tedezed authored Sep 23, 2024
2 parents b88ee23 + ca85b3c commit dbfa9ef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ jobs:
yarn config set npmPublishRegistry "https://registry.npmjs.org/"
yarn config set npmAuthToken "${NODE_AUTH_TOKEN}"
- name: Publish package
- name: Publish package with Lerna
if: startsWith(github.ref, 'refs/tags/') && matrix.publish
env:
RELEASE_TYPE: ${{ steps.get-release-type.outputs.result }}
run: yarn npm publish --tag ${RELEASE_TYPE}
run: |
yarn lerna publish --yes --force-publish "*" --npm-tag ${RELEASE_TYPE}

0 comments on commit dbfa9ef

Please sign in to comment.