Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,14 @@ jobs:
- name: Verify build
run: node bin/hookmyapp.js --version
- name: Publish to npm (OIDC + provenance)
# prepublishOnly reruns the build during `npm publish`; keep the same
# env as the Build step so the rebuild bakes identical release values.
run: npm publish --provenance --access public
env:
HOOKMYAPP_SENTRY_DSN: ${{ secrets.HOOKMYAPP_CLI_SENTRY_DSN }}
HOOKMYAPP_CLI_RELEASE: ${{ github.ref_name }}
HOOKMYAPP_POSTHOG_TOKEN: ${{ secrets.HOOKMYAPP_POSTHOG_TOKEN }}
HOOKMYAPP_POSTHOG_HOST: ${{ secrets.HOOKMYAPP_POSTHOG_HOST }}

notify-failure:
needs: [publish]
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "@gethookmyapp/cli",
"version": "0.13.0",
"version": "0.13.1",
"description": "HookMyApp CLI, No BS. Just go live.",
"type": "module",
"bin": {
"hookmyapp": "bin/hookmyapp.js"
},
"scripts": {
"build": "node build.mjs",
"prepublishOnly": "npm run build && npm run test:unit",
Comment thread
ord669 marked this conversation as resolved.
"dev": "tsx src/index.ts",
"test": "vitest run --reporter=verbose",
"test:unit": "vitest run --reporter=verbose",
Expand Down
Loading