Skip to content

Commit

Permalink
Merge pull request #864 from webdriverio-community/sm/remove-release-it
Browse files Browse the repository at this point in the history
debug(ci): extra logging
  • Loading branch information
goosewobbler authored Dec 12, 2024
2 parents 315ab3c + bbcab5a commit 2860c29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ jobs:
run: pnpm turbo-version -b ${{inputs.preReleaseVersion}}
- name: Publish to NPM
shell: bash
run: pnpx tsx scripts/publish.ts --tag next ${{inputs.dryRun && '--dry-run' || ''}}
run: |
git log --oneline -n 4
pnpx tsx scripts/publish.ts --tag next ${{inputs.dryRun && '--dry-run' || ''}}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Log git changes
Expand Down
4 changes: 3 additions & 1 deletion scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ shell.cp(['LICENSE'], 'packages/@wdio_electron-types');

const publishCommand = `pnpm publish -r ${options.join(' ')}`;

shell.exec(publishCommand);
console.log(`Publishing wdio-electron-service...`, publishCommand);

// shell.exec(publishCommand);

0 comments on commit 2860c29

Please sign in to comment.