Harden production workflows and agent admission

This commit is contained in:
Stanislav Rossovskii
2026-05-28 14:19:27 +04:00
parent a2e88b4e76
commit 37b1a1d6d6
109 changed files with 4927 additions and 894 deletions

View File

@@ -17,8 +17,16 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "22"
# PH-021: cache npm so the pinned @redocly/cli version below is fetched
# once per cache hit; the version is pinned by exact tag in this file
# so the same artifact is used across runs.
cache: npm
cache-dependency-path: web/package-lock.json
- name: Lint OpenAPI
run: npx --yes @redocly/cli@1.34.6 lint api/openapi.yaml
# PH-021: @redocly/cli is not in package.json because it is a lint-only
# tool that does not ship with the web bundle. The exact version below
# is the reproducibility pin; do not float to "latest" or a range.
run: npx --yes @redocly/cli@2.11.1 lint api/openapi.yaml
agent:
runs-on: ubuntu-latest