Files
selfphoneng/package.json
T
iamdoubz 9e5cbb18ac release: container images when a release is published; version 0.0.1
.github/workflows/release.yml runs on Gitea and on the GitHub mirror (release: published only)
and pushes selfphoneng-api and selfphoneng-asterisk to that forge's registry: ghcr.io with the
job token, the Gitea registry with secrets REGISTRY_USER + REGISTRY_TOKEN (Gitea's job token
can't push packages). Tags: the version, plus <major>.<minor> and latest unless it's a
pre-release. It stops unless the tag is v + package.json's version, and checks the images
before pushing.

Run locally with act_runner exec against a throwaway registry: v0.0.1 pushed 0.0.1, 0.0 and
latest for both images (VERSION 0.0.1, OCI labels, source archive selfphoneng-0.0.1/);
v9.9.9 failed at the version check.

Version 0.0.1 in all package.json files, CHANGELOG.md started, release steps in 08 §3.1.

Task: none (owner request, 2026-10-20)
2026-10-20 13:27:49 -05:00

33 lines
1.1 KiB
JSON

{
"name": "selfphoneng",
"version": "0.0.1",
"private": true,
"license": "AGPL-3.0-or-later",
"type": "module",
"packageManager": "pnpm@11.10.0",
"engines": {
"node": ">=24"
},
"scripts": {
"dev": "pnpm --parallel --filter @selfphoneng/api --filter @selfphoneng/web dev",
"build": "pnpm -r build",
"test": "vitest run",
"lint": "eslint . && prettier --check .",
"format": "prettier --write .",
"typecheck": "pnpm -r typecheck",
"test:asterisk": "node apps/api/test/asterisk/load-golden.mjs && node --conditions=source apps/api/test/asterisk/call-test.ts && node --conditions=source apps/api/test/asterisk/trunk-test.ts && node --conditions=source apps/api/test/asterisk/voicemail-test.ts"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^24.19.2",
"@typescript/native": "npm:typescript@^7.0.2",
"eslint": "^10.13.0",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.13.0",
"prettier": "^3.9.10",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"typescript-eslint": "^8.71.2",
"vitest": "^5.0.5"
}
}