Pinned Docker versions and preemptively fixed issues with ARIA
This commit is contained in:
parent
3ebbc2408b
commit
9bf49c30b3
4 changed files with 6 additions and 5 deletions
|
@ -7,7 +7,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
unlighthouse:
|
unlighthouse:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: forgejo.neshweb.net/ci-docker-images/unlighthouse:latest
|
container: forgejo.neshweb.net/ci-docker-images/unlighthouse:0.2.1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
|
|
|
@ -2,9 +2,10 @@ FROM node:21.5 AS build
|
||||||
WORKDIR /site
|
WORKDIR /site
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm i
|
RUN npm i
|
||||||
|
RUN npm run astro telemetry disable
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM forgejo.neshweb.net/ci-docker-images/website-serve:latest AS runtime
|
FROM forgejo.neshweb.net/ci-docker-images/website-serve:0.1.3 AS runtime
|
||||||
|
|
||||||
COPY --from=build /site/dist /public
|
COPY --from=build /site/dist /public
|
||||||
COPY --from=build /site/serve.json /public/serve.json
|
COPY --from=build /site/serve.json /public/serve.json
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "fgo-ta-com-website",
|
"name": "fgo-ta-com-website",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2-pre.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
|
|
|
@ -7,7 +7,7 @@ const hamburger_src_url = `url("${hamburger.src}")`
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<a href="/" rel="noopener noreferrer" aria-label="Home" role="button">
|
<a href="/" rel="noopener noreferrer" aria-label="Home" role="button">
|
||||||
<Image src={logo} alt="FGO TA Logo" loading="eager"/>
|
<Image src={logo} alt="" loading="eager"/>
|
||||||
<span class="visually-hidden">Logo</span>
|
<span class="visually-hidden">Logo</span>
|
||||||
</a>
|
</a>
|
||||||
<ul class="desktop">
|
<ul class="desktop">
|
||||||
|
@ -18,7 +18,7 @@ const hamburger_src_url = `url("${hamburger.src}")`
|
||||||
aria-label="Navigation Button"
|
aria-label="Navigation Button"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
onclick="this.focus()"
|
onclick="this.focus()"
|
||||||
role="navigation"
|
role="button"
|
||||||
>
|
>
|
||||||
<ul>
|
<ul>
|
||||||
<slot name="mobile" />
|
<slot name="mobile" />
|
||||||
|
|
Loading…
Reference in a new issue