quality / commitlint (push) Skipped
quality / changes (push) Successful in 18s
quality / docker-check (push) Skipped
quality / openapi (push) Successful in 1m31s
quality / web (push) Successful in 1m7s
quality / api (push) Failing after 40s
CD / quality (push) Failing after 3m43s
CD / publish (push) Skipped
- Added .release-version, CHANGELOG.md, and deploy/docker/docker-bake.override.hcl to .gitignore. - Removed Dockerfile as part of the cleanup. - Updated AGENTS.md and README.md to include new documentation on CI/Docker processes and deployment instructions. - Enhanced package.json with new devDependencies for commit linting and semantic release. - Updated pnpm-lock.yaml to reflect new dependencies and versions. These changes streamline the project structure and improve documentation clarity.
26 lines
786 B
Bash
26 lines
786 B
Bash
#!/usr/bin/env sh
|
|
# Абсолютные пути для actions/cache: на act_runner «~» часто не раскрывается → cache miss.
|
|
set -eu
|
|
: "${GITHUB_ENV:?GITHUB_ENV required (Gitea/GitHub Actions)}"
|
|
|
|
HOME_DIR="${HOME:-}"
|
|
if [ -z "$HOME_DIR" ]; then
|
|
HOME_DIR="$(getent passwd "$(id -u)" 2>/dev/null | cut -d: -f6 || true)"
|
|
fi
|
|
HOME_DIR="${HOME_DIR:-/root}"
|
|
|
|
PNPM_STORE_DIR="${HOME_DIR}/.pnpm-store"
|
|
COREPACK_HOME="${HOME_DIR}/.cache/node/corepack"
|
|
|
|
mkdir -p "$PNPM_STORE_DIR" "$COREPACK_HOME"
|
|
|
|
{
|
|
echo "HOME_DIR=${HOME_DIR}"
|
|
echo "PNPM_STORE_DIR=${PNPM_STORE_DIR}"
|
|
echo "COREPACK_HOME=${COREPACK_HOME}"
|
|
} >> "$GITHUB_ENV"
|
|
|
|
echo "cache-env HOME_DIR=${HOME_DIR}"
|
|
echo "cache-env PNPM_STORE_DIR=${PNPM_STORE_DIR}"
|
|
echo "cache-env COREPACK_HOME=${COREPACK_HOME}"
|