This is a Next.js project bootstrapped with create-next-app.
npm install
First, run the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
This package handles automated accessibility using the axe test runner
Run tests with a11y-test
Screenshots will be output into /a11y/results for each tested page.
This project uses a mix of tagging and push triggered actions workflows to deploy to dev, test, or production
The steps to deploy the project are as follows:
- Make your changes locally on a branch from main
- "git add" and "git commit" your changes as normal
- Run "git log", and grab the hash of your commit. It should be the first entry
- Run "git tag -f -a <dev/test/prod> "
- Push your changes to your branch
- Open a Pull Request for your branch
- Allow the testing actions to complete and get someone to review your PR (if any of these fails, make changes and git add, commit, push)
- Once all tests have passed and the changes are approved, merge the code to main
- This will trigger a deployment that uses whichever tag you set (dev/test/prod) as the target environment
Note: you can run the unit tests on your local by running "npm test"