-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created Github Workflow for Accessibility Testing (Using Axe) #879
Closed
Closed
Changes from 4 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
29f2f43
Created github workflow for accessibility test (using Axe)
nwanduka 789964f
Rename axe.yml to axe-accessibility-check.yml
nwanduka cf1c0eb
added develop branch
nwanduka e6ac640
fixed node versions
nwanduka 6ff61db
added start script
nwanduka f6d2c51
Update axe-accessibility-check.yml
nwanduka e1e8c16
Update package.json
nwanduka 5f8f5c6
Update axe-accessibility-check.yml
nwanduka 9764a68
Update package.json
nwanduka 7e1176a
Update package.json
nwanduka f5c7bf1
Update and rename axe-accessibility-check.yml to axe-a11y-check.yml
nwanduka d975ac4
Update axe-a11y-check.yml
nwanduka 3bce8eb
Update package.json
nwanduka 94a29e9
Update axe-a11y-check.yml
nwanduka 54e1f04
added start script
nwanduka 8753e5e
Update start script
nwanduka 0eccd5b
added http server dependencies
nwanduka e1de511
Update package.json
nwanduka f7a048e
Update axe-a11y-check.yml
nwanduka 61c5b79
Update axe-a11y-check.yml
nwanduka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: axe | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
jobs: | ||
axe: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.x, 18.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm run build --if-present | ||
- run: npm start & npx wait-on http://localhost:4010 | ||
- name: Run axe | ||
run: | | ||
npm install -g @axe-core/cli | ||
axe http://localhost:4010 --exit |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have a start script!
caMicroscope/package.json
Line 6 in dae72cf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears so. To add a start script, I need to know the entry point to the application. From my research, it is typically specified in the main field of the package.json file as "index.js" or "app.js" or "server.js". But I don't see it. I've scoured the entire repo and I can't find anything remotely close to it.
I was hoping you could point me in the right direction, please.