ci: use Gitea-compatible accessibility artifacts
All checks were successful
Quality gates / quality (pull_request) Successful in 2m39s
All checks were successful
Quality gates / quality (pull_request) Successful in 2m39s
This commit is contained in:
parent
ae9fe0173c
commit
6eeb098245
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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/);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user