ci: use Gitea-compatible accessibility artifacts
All checks were successful
Quality gates / quality (pull_request) Successful in 2m39s

This commit is contained in:
Timmy 2026-08-22 23:40:16 +00:00
parent ae9fe0173c
commit 6eeb098245
2 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,7 @@ jobs:
npm run test:photo npm run test:photo
npm run test:sleek npm run test:sleek
- name: Upload accessibility screenshots - name: Upload accessibility screenshots
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
if: always() if: always()
with: with:
name: a11y-screenshots name: a11y-screenshots

View File

@ -21,6 +21,8 @@ test('Gitea CI gates pull requests and main with the reproducible quality suite'
assert.match(workflow, /npm run test:ui/); assert.match(workflow, /npm run test:ui/);
assert.match(workflow, /npm run test:photo/); assert.match(workflow, /npm run test:photo/);
assert.match(workflow, /npm run test:sleek/); assert.match(workflow, /npm run test:sleek/);
assert.match(workflow, /uses: actions\/upload-artifact@v3/);
assert.doesNotMatch(workflow, /uses: actions\/upload-artifact@v4/);
assert.match(workflow, /npm audit --audit-level=high/); assert.match(workflow, /npm audit --audit-level=high/);
assert.match(workflow, /npm run check:syntax/); assert.match(workflow, /npm run check:syntax/);
assert.match(workflow, /npm run check:diff/); assert.match(workflow, /npm run check:diff/);