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
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1146,6 +1146,21 @@ docker run --rm -it \
1146
1146
http://host.docker.internal:1234
1147
1147
```
1148
1148
1149
+
### Testing the published npm package
1150
+
1151
+
To verify that the published npm package installs correctly and has the expected layout (wrapper script and platform binaries), use the local test script. It installs into a controlled directory (no global install) and runs the same checks as the `test-npm-install` CI workflow.
1152
+
1153
+
```sh
1154
+
# Test with @latest (default)
1155
+
./test-scripts/test-npm-install-local.sh
1156
+
1157
+
# Test with a specific version or tag
1158
+
./test-scripts/test-npm-install-local.sh 1.7.1
1159
+
./test-scripts/test-npm-install-local.sh @beta
1160
+
```
1161
+
1162
+
Install output is written to `test-scripts/.install-test/` (gitignored).
1163
+
1149
1164
## Releasing
1150
1165
1151
1166
This section describes the release process for the Hookdeck CLI.
0 commit comments