Skip to content

Commit 940a515

Browse files
authored
Merge branch 'main' into fix-hover-action
2 parents 8e00b6e + 1a90241 commit 940a515

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/lighthouse.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252

5353
- name: Run Lighthouse CI
54-
run: npx lhci autorun
54+
run: npx @lhci/cli@0.7.x autorun
5555
env:
5656
JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5757
LHCI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docs/_guide/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GitHub's first page interactions were written using jQuery, which was widely use
1111

1212
Rather than moving to entirely new paradigms, GitHub continued to use the same concepts within jQuery. Event Delegation was still heavily used, as well as querySelector. The event delegation concept was also extended to "element delegation" - discovering when Elements were added to the DOM, using the [Selector Observer](https://github.com/josh/selector-observer) library.
1313

14-
From this emerged a set of patterns which were reduced down to their first principles. _Observing_ elements on the page, _listening_ to the events these elements or their children emit, and _querying_ the children of an element to mutate or extend them.
14+
These patterns were reduced to first principles: _Observing_ elements on the page, _listening_ to the events these elements or their children emit, and _querying_ the children of an element to mutate or extend them.
1515

1616
The Web Systems team at GitHub explored other tools that adopt these set of patterns and principles. The closest match to those goals was [Stimulus](https://stimulusjs.org/) (from which Catalyst is heavily inspired), but ultimately the desire to leverage technology that engineers at GitHub were already familiar with was the motivation to create Catalyst.
1717

lighthouserc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"ci": {
33
"collect": {
44
"url": ["http://localhost:4000/?prefers-color-scheme=light", "http://localhost:4000/?prefers-color-scheme=dark"],
5-
"startServerCommand": "cd docs && bundle exec jekyll serve"
5+
"startServerCommand": "cd docs && bundle exec jekyll serve",
6+
"startServerReadyPattern": "Server running..."
67
},
78
"assert": {
89
"preset": "lighthouse:no-pwa",

0 commit comments

Comments
 (0)