feat: migrate pmg to nx based release automation (#293)

* feat: Migrate release system to Nx with platform-specific npm packages

* add go.work.sum

* fix: CI deprecations, stale action pins, and signal propagation

* fix: update e2e workflows to pnpm 11 and latest action SHAs

* fix: update pmg-e2e.yml to Node 24 with Go and pnpm caching

* fix: resolve E2E failures, remove goreleaser-test, update action SHAs

* fix: restore goreleaser-test (required check)

* fix: escape pnpm workspace detection for yarn/pnpx tests, update action versions
This commit is contained in:
Arunanshu Biswas
2026-05-28 17:22:11 +05:30
committed by GitHub
parent 19b9f2ca1f
commit 1c25395d74
40 changed files with 3205 additions and 698 deletions
+38
View File
@@ -0,0 +1,38 @@
{
"name": "sync-binaries",
"root": "scripts/sync-binaries",
"targets": {
"run": {
"executor": "nx:run-commands",
"dependsOn": [{"projects": "pmg", "target": "build-snapshot"}],
"options": {
"command": "go run ./scripts/sync-binaries/ --strict --verify-bins --artifacts-path dist/artifacts.json --packages-path ./packages",
"cwd": "{workspaceRoot}"
},
"inputs": ["goSyncSources", "{workspaceRoot}/dist/artifacts.json"],
"outputs": [
"{workspaceRoot}/packages/pmg-linux-x64/bin",
"{workspaceRoot}/packages/pmg-linux-arm64/bin",
"{workspaceRoot}/packages/pmg-darwin-x64/bin",
"{workspaceRoot}/packages/pmg-darwin-arm64/bin",
"{workspaceRoot}/packages/pmg-win32-x64/bin"
]
},
"run-release": {
"executor": "nx:run-commands",
"options": {
"command": "go run ./scripts/sync-binaries/ --strict --verify-bins --artifacts-path dist/artifacts.json --packages-path ./packages --set-version $VERSION",
"cwd": "{workspaceRoot}"
},
"inputs": ["goSyncSources", "{workspaceRoot}/dist/artifacts.json"],
"outputs": [
"{workspaceRoot}/packages/pmg-linux-x64/bin",
"{workspaceRoot}/packages/pmg-linux-arm64/bin",
"{workspaceRoot}/packages/pmg-darwin-x64/bin",
"{workspaceRoot}/packages/pmg-darwin-arm64/bin",
"{workspaceRoot}/packages/pmg-win32-x64/bin"
],
"cache": false
}
}
}