Pinned Docker versions and preemptively fixed issues with ARIA
All checks were successful
/ checking (push) Successful in 13s
/ build-site (push) Successful in 2m22s
/ publish (push) Successful in 7s
/ deploy-unlighthouse-files (push) Successful in 6s
/ unlighthouse (push) Successful in 40s
/ deploy-unlighthouse-site (push) Successful in 6s

This commit is contained in:
Firq 2024-06-20 22:26:56 +02:00
parent 3ebbc2408b
commit 0b4bca36ed
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
4 changed files with 6 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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",

View file

@ -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" />