The first run failed with `cargo: command not found` — `runs-on: fedora-43` is the generic (node) runner, not the Rust toolchain. Split the build: Rust on `runs-on: rust`, the SPA on `fedora-43` (matching the fleet's existing conventions, cf. cichlid/helexa workflows). Also drop the musl static-cross build: the entire fleet is Fedora 43, so native binaries built on the `rust` runner run on the targets without glibc skew (deployment-gitea-actions.md §6 permits building on a runner no newer than the oldest target). Removes the unverifiable musl-toolchain dependency. Pin pnpm via packageManager so corepack resolves it deterministically. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016fKZzDpvjiJ9eYbPGgJvUP
36 lines
931 B
JSON
36 lines
931 B
JSON
{
|
|
"name": "newsfeed-web",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"packageManager": "pnpm@10.30.3",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc --noEmit && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint .",
|
|
"format": "prettier --write src",
|
|
"gen:types": "cd .. && cargo test -p newsfeed-entities"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/react-query": "^5.59.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-router-dom": "^6.26.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"globals": "^15.11.0",
|
|
"@types/react": "^18.3.12",
|
|
"@types/react-dom": "^18.3.1",
|
|
"@vitejs/plugin-react-swc": "^3.7.0",
|
|
"eslint": "^9.13.0",
|
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
"eslint-plugin-react-refresh": "^0.4.14",
|
|
"prettier": "^3.3.3",
|
|
"typescript": "^5.6.3",
|
|
"typescript-eslint": "^8.11.0",
|
|
"vite": "^5.4.10"
|
|
}
|
|
}
|