Skip to content

Commit

Permalink
chore: Upgrade Astro deps, improve accessibility CI tests (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
evadecker authored Jun 26, 2024
1 parent 03b7420 commit 7251a48
Show file tree
Hide file tree
Showing 11 changed files with 191 additions and 266 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Links
name: Valid Links

on:
repository_dispatch:
Expand Down
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"yzhang.markdown-all-in-one",
"jsynowiec.vscode-insertdatestring",
"esbenp.prettier-vscode",
"vunguyentuan.vscode-css-variables"
"vunguyentuan.vscode-css-variables",
"deque-systems.vscode-axe-linter"
],
"unwantedRecommendations": []
}
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div align="center">

![Vercel](https://vercelbadge.vercel.app/api/evadecker/eva.town) [![Playwright](https://github.com/evadecker/eva.town/actions/workflows/playwright.yml/badge.svg)](https://github.com/evadecker/eva.town/actions/workflows/playwright.yml) [![HTML5 Validation](https://github.com/evadecker/eva.town/actions/workflows/w3c.yml/badge.svg)](https://github.com/evadecker/eva.town/actions/workflows/w3c.yml) [![Check Links](https://github.com/evadecker/eva.town/actions/workflows/links.yml/badge.svg)](https://github.com/evadecker/eva.town/actions/workflows/links.yml) ![GitHub](https://img.shields.io/github/license/evadecker/eva.town) [![RSS](https://img.shields.io/badge/RSS-gray?logo=rss&logoColor=white&labelColor=eb7817)](https://eva.town/rss.xml)
![Vercel](https://vercelbadge.vercel.app/api/evadecker/eva.town) ![GitHub](https://img.shields.io/github/license/evadecker/eva.town) [![RSS](https://img.shields.io/badge/RSS-gray?logo=rss&logoColor=white&labelColor=eb7817)](https://eva.town/rss.xml)

</div>

Expand All @@ -26,6 +26,20 @@ If it's the first time running the repo you may need to run `pnpm i` to install

Other scripts in `package.json` can also be run with `pnpm`.

## Link Checking

[![Check Links](https://github.com/evadecker/eva.town/actions/workflows/links.yml/badge.svg)](https://github.com/evadecker/eva.town/actions/workflows/links.yml)

A weekly [GitHub workflow](https://github.com/evadecker/eva.town/actions/workflows/links.yml) scans the site for broken links and will open an issue if one is found.

## Accessibility

[![CI](https://github.com/evadecker/eva.town/actions/workflows/ci.yml/badge.svg)](https://github.com/evadecker/eva.town/actions/workflows/ci.yml)

Every pull request is tested for automatically-detectable accessibility issues and HTML5 compliance.

This site aims to conform to the Level AA accessibility standards outlined in the [WCAG 2.2 specification](https://www.w3.org/TR/WCAG22/). If you experience an issue with accessing any part of this site, please [file an issue](https://github.com/evadecker/eva.town/issues) and I’ll do my best to correct it.

## Notes To Self

Some shortcuts and workflows to remember.
Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
},
"dependencies": {
"@astrojs/check": "^0.7.0",
"@astrojs/db": "^0.11.4",
"@astrojs/markdown-remark": "^5.1.0",
"@astrojs/mdx": "^3.0.0",
"@astrojs/react": "^3.5.0",
"@astrojs/rss": "^4.0.6",
"@astrojs/sitemap": "^3.1.5",
"@astrojs/vercel": "^7.7.0",
"@astrojs/db": "^0.11.6",
"@astrojs/markdown-remark": "^5.1.1",
"@astrojs/mdx": "^3.1.2",
"@astrojs/react": "^3.6.0",
"@astrojs/rss": "^4.0.7",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/vercel": "^7.7.2",
"@nanostores/react": "^0.7.2",
"@react-spring/web": "^9.7.3",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.2.19",
"astro": "^4.10.2",
"astro": "^4.11.1",
"astro-expressive-code": "^0.35.3",
"astro-font": "^0.0.81",
"astro-loading-indicator": "^0.5.0",
Expand All @@ -59,6 +59,7 @@
"simplex-noise": "^4.0.1"
},
"devDependencies": {
"@axe-core/playwright": "^4.9.1",
"@playwright/test": "^1.44.1",
"@radix-ui/colors": "^3.0.0",
"@types/howler": "^2.2.11",
Expand Down
Loading

0 comments on commit 7251a48

Please sign in to comment.