Skip to content

Commit f15a5ea

Browse files
authored
refactor: use pnpx instead of npx for consistency (#25)
1 parent c58e1f1 commit f15a5ea

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/github-release-and-npm-package-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
- name: Bump `package.json` version & generate changelog both from conventional commits
9494
# -from "v${{ steps.get_package_version_old.outputs.version }}"
95-
run: npx changelogen@0.5.7 --output CHANGELOG.md --bump --no-commit --no-tag ${{ needs.check_conditions.outputs.run_suffix_force_version }}
95+
run: pnpx changelogen@0.5.7 --output CHANGELOG.md --bump --no-commit --no-tag ${{ needs.check_conditions.outputs.run_suffix_force_version }}
9696
env:
9797
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
9898

@@ -112,9 +112,9 @@ jobs:
112112
git push origin --tags
113113
114114
- name: Sync tags with GitHub releases & create the new release
115-
# run: npx changelogen@0.5.7 gh release "v${{ steps.get_package_version_new.outputs.version }}"
116-
# run: npx changelogen@0.5.7 gh release
117-
run: npx changelogen@0.5.7 gh release all
115+
# run: pnpx changelogen@0.5.7 gh release "v${{ steps.get_package_version_new.outputs.version }}"
116+
# run: pnpx changelogen@0.5.7 gh release
117+
run: pnpx changelogen@0.5.7 gh release all
118118
env:
119119
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120120

README.dev.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ type foo = { bar: 2 }
5656
Using the suffix `[create-release]` or `[create-release-TYPE]` in a commit message on branch `main` will trigger
5757
the GitHub workflow (CI action) that:
5858

59-
- uses `npx changelogen` to analyze the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) from
59+
- uses `pnpx changelogen` to analyze the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) from
6060
the last version to the current commit for:
6161
- bumping the version in `package.json` via:
6262
- automatically when no `TYPE` is given
@@ -74,7 +74,7 @@ the GitHub workflow (CI action) that:
7474
- Creating a GitHub Release out of it
7575
- Publishing the package into the [NPM Registry](https://registry.npmjs.org/)
7676

77-
You can use `npx changelogen --dry` to generate the new changelog in a dry run to preview in development.
77+
You can use `pnpx changelogen --dry` to generate the new changelog in a dry run to preview in development.
7878

7979
## Template Compilation and Usage
8080

0 commit comments

Comments
 (0)