diff --git a/.agents/environment.json b/.agents/environment.json new file mode 100644 index 000000000..f7d735bb6 --- /dev/null +++ b/.agents/environment.json @@ -0,0 +1,3 @@ +{ + "install": "if command -v apt-get >/dev/null 2>&1 && { ! command -v fish >/dev/null 2>&1 || ! command -v xvfb-run >/dev/null 2>&1; }; then sudo env DEBIAN_FRONTEND=noninteractive apt-get update -qq && sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq fish xvfb; fi && npm ci && npm run build:plugin-runtime-deps" +} diff --git a/.gitignore b/.gitignore index 56bb92cf4..09d013c17 100755 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,9 @@ # --- Layer 2: allowlist root directories --- # Un-ignore the directory entry, then everything under it. Git does not # traverse ignored directories, so both steps are required. +!.agents/ +/.agents/* +!/.agents/environment.json !.github/ !.github/** !application/