You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,7 @@ jobs:
99
99
| `readme_dest` | Destination path for README | No | `packages/app/README.md` |
100
100
| `publish_npm` | Whether to publish to npm registry | No | `true` |
101
101
| `publish_github_packages` | Whether to publish to GitHub Packages | No | `true` |
102
-
| `skip_if_unchanged` | Skip version bump/publish if local package.json + dist match latest npm package | No | `false` |
102
+
| `skip_if_unchanged` | Skip version bump/publish if the local npm tarball matches the latest published tarball (ignoring version/gitHead) | No | `false` |
103
103
| `npm_token` | NPM authentication token | No (required if `publish_npm` is true) | - |
104
104
| `github_token` | GitHub token for releases and packages | Yes | - |
105
105
@@ -117,7 +117,7 @@ jobs:
117
117
1. **Checkout**: Checks out the repository at the specified ref
118
118
2. **Setup**: Configures pnpm and Node.js environment
4. **Optional compare**: When `skip_if_unchanged` is true, compares local `package.json` + `dist` with the latest npm package and skips release if identical
120
+
4. **Optional compare**: When `skip_if_unchanged` is true, compares the local npm tarball with the latest published tarball (ignoring version/gitHead) and skips release if identical
121
121
5. **Changeset**: Creates automatic changeset if none exists
122
122
6. **Version**: Bumps package version using changesets
123
123
7. **Commit**: Commits version changes back to the branch
Copy file name to clipboardExpand all lines: SETUP.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ permissions:
95
95
96
96
### Optional Behavior
97
97
98
-
- `skip_if_unchanged`- When enabled, the action compares local `package.json` + `dist` with the latest npm package and skips the release if identical. For private npm packages, provide `NPM_TOKEN` so the comparison can fetch the published tarball.
98
+
- `skip_if_unchanged`- When enabled, the action compares the local npm tarball with the latest published tarball (ignoring version/gitHead) and skips the release if identical. For private npm packages, provide `NPM_TOKEN` so the comparison can fetch the published tarball.
0 commit comments