Skip to content

Commit

Permalink
chore: use local cli to run lerna-lite commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Nov 23, 2023
1 parent 6ddb168 commit c414ddb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
pnpm whoami
node ./packages/cli/dist/cli.js version --yes --dry-run
pnpm run local-lerna version --yes --dry-run
- name: "[dry-run] 🧪 Lerna Version (force graduate) 🏷️"
if: ${{ inputs.graduate == true }}
Expand All @@ -87,12 +87,12 @@ jobs:
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
pnpm whoami
node ./packages/cli/dist/cli.js version --conventional-commits --conventional-graduate --yes --dry-run
pnpm run local-lerna version --conventional-commits --conventional-graduate --yes --dry-run
- name: "[dry-run] 🧪 Lerna Publish 📦"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
run: |
node ./packages/cli/dist/cli.js publish from-package --force-publish --yes --dry-run
pnpm run local-lerna publish from-package --force-publish --yes --dry-run

0 comments on commit c414ddb

Please sign in to comment.