Skip to content

Commit deb2297

Browse files
committed
chore: merge main into fix/sticky-headers
2 parents 2adce79 + c2ee9de commit deb2297

62 files changed

Lines changed: 4779 additions & 496 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v6
18-
- run: npm i -g --force corepack && corepack enable
18+
- run: corepack enable
1919
- uses: actions/setup-node@v6
2020
with:
2121
node-version: lts/*

.github/workflows/ci.yml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ on:
88
branches:
99
- main
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
lint:
1316
runs-on: ubuntu-latest
1417

1518
steps:
1619
- uses: actions/checkout@v6
17-
- run: npm i -g --force corepack && corepack enable
20+
- run: corepack enable
1821
- uses: actions/setup-node@v6
1922
with:
2023
node-version: lts/*
@@ -31,7 +34,7 @@ jobs:
3134

3235
steps:
3336
- uses: actions/checkout@v6
34-
- run: npm i -g --force corepack && corepack enable
37+
- run: corepack enable
3538
- uses: actions/setup-node@v6
3639
with:
3740
node-version: lts/*
@@ -59,7 +62,7 @@ jobs:
5962

6063
steps:
6164
- uses: actions/checkout@v6
62-
- run: npm i -g --force corepack && corepack enable
65+
- run: corepack enable
6366
- uses: actions/setup-node@v6
6467
with:
6568
node-version: lts/*
@@ -70,3 +73,25 @@ jobs:
7073

7174
- name: 🖥️ Test project (browser)
7275
run: pnpm test:browser
76+
77+
a11y:
78+
runs-on: ubuntu-latest
79+
80+
steps:
81+
- uses: actions/checkout@v6
82+
- run: corepack enable
83+
- uses: actions/setup-node@v6
84+
with:
85+
node-version: lts/*
86+
cache: pnpm
87+
88+
- name: 📦 Install dependencies
89+
run: pnpm install
90+
91+
- name: 🏗️ Build project
92+
run: pnpm build
93+
94+
- name: ♿ Accessibility audit (Lighthouse)
95+
run: pnpx @lhci/cli autorun
96+
env:
97+
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ coverage/
3333
# Playwright
3434
playwright-report/
3535
test-results/
36+
37+
# Lighthouse
38+
.lighthouseci

.lighthouserc.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"ci": {
3+
"collect": {
4+
"startServerCommand": "pnpm preview",
5+
"startServerReadyPattern": "Listening",
6+
"url": [
7+
"http://localhost:3000/",
8+
"http://localhost:3000/search?q=nuxt",
9+
"http://localhost:3000/nuxt"
10+
],
11+
"numberOfRuns": 1,
12+
"settings": {
13+
"onlyCategories": ["accessibility"],
14+
"skipAudits": ["valid-source-maps"]
15+
}
16+
},
17+
"assert": {
18+
"assertions": {
19+
"categories:accessibility": ["warn", { "minScore": 0.9 }]
20+
}
21+
},
22+
"upload": {
23+
"target": "temporary-public-storage"
24+
}
25+
}
26+
}

CODE_OF_CONDUCT.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
- Using welcoming and inclusive language
12+
- Being respectful of differing viewpoints and experiences
13+
- Gracefully accepting constructive criticism
14+
- Focusing on what is best for the community
15+
- Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
- Trolling, insulting/derogatory comments, and personal or political attacks
21+
- Public or private harassment
22+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
- Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies within all project spaces, and it also applies when an individual is representing the project or its community in public spaces. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [daniel@roe.dev](mailto:daniel@roe.dev). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
44+
45+
[homepage]: https://www.contributor-covenant.org
46+
47+
For answers to common questions about this code of conduct, see https://www.contributor-covenant.org/faq

0 commit comments

Comments
 (0)