This commit is contained in:
2026-03-20 13:45:23 +01:00
parent e907064d6e
commit c9323b3f09
2 changed files with 8 additions and 2 deletions

View File

@@ -13,7 +13,8 @@ runner:
# Execute how many tasks concurrently at the same time.
capacity: 1
# Extra environment variables to run jobs.
envs: {}
envs:
npm_config_store_dir: /cache/pnpm-store
# Extra environment variables to run jobs from a file.
# It will be ignored if it's empty or the file doesn't exist.
env_file: .env
@@ -59,7 +60,7 @@ container:
# Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-Docker).
privileged: false
# And other options to be used when the container is started (eg, --add-host=my.gitea.url:host-gateway).
options:
options: -v /var/cache/act-runner/pnpm-store:/cache/pnpm-store:Z
# The parent directory of a job's working directory.
# If it's empty, /workspace will be used.
workdir_parent: