Skip to content

Commit 6e849de

Browse files
Fixing github workflow
1 parent 44908b2 commit 6e849de

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/a11y.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
- name: Build
2323
run: yarn build
2424
- name: Start server and run a11y tests
25-
run: yarn start && yarn test:a11y
25+
run: npx start-server-and-test start http://localhost:3000 test:a11y

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"test:a11y": "patternfly-a11y --config patternfly-a11y.config"
2626
},
2727
"devDependencies": {
28+
"@patternfly/patternfly-a11y": "4.2.1",
2829
"@percy/script": "^1.1.0",
2930
"@types/jest": "^26.0.14",
3031
"@typescript-eslint/eslint-plugin": "2.11.0",
@@ -53,10 +54,10 @@
5354
"jest-resolve": "^26.4.0",
5455
"jsdom": "^16.6.0",
5556
"mock-socket": "^9.0.3",
57+
"start-server-and-test": "^1.14.0",
5658
"ts-jest": "21.x",
5759
"typescript": "3.8.3",
58-
"url-search-params-polyfill": "2.x",
59-
"@patternfly/patternfly-a11y": "4.2.1"
60+
"url-search-params-polyfill": "2.x"
6061
},
6162
"jest": {
6263
"moduleFileExtensions": [

patternfly-a11y.config.js

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ module.exports = {
1212
waitFor,
1313
crawl: false,
1414
urls: [
15-
'/custom-catalog',
1615
'/quickstarts-props',
1716
'?quickstart=add-healthchecks',
1817
'?quickstart=install-app-and-associate-pipeline',

0 commit comments

Comments
 (0)