You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-6Lines changed: 28 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,12 @@ Results are posted as comments to pull requests and as [GitHub Action job summar
6
6
7
7
It collects data from the `Server-Timing` header and runs Lighthouse on a given set of URLs.
8
8
9
-

9
+
<imgwidth="1154"alt="Screenshot of a GitHub Action job summary output by this action"src="https://github.com/swissspidy/wp-performance-action/assets/841956/bb543ba2-a142-49d5-bb45-77d11f121824">
10
10
11
11
## Usage
12
12
13
+
### Basic Example
14
+
13
15
Add a workflow (`.github/workflows/build-test.yml`):
14
16
15
17
```yaml
@@ -36,16 +38,36 @@ jobs:
36
38
- name: Install dependencies
37
39
run: npm ci
38
40
39
-
# Here's where you would run your custom build process
40
-
# and configure & start the server environment.
41
-
42
-
- name: Start server
43
-
run: npx wp-env start
41
+
# Here's where you would install dependencies, run your custom build process, etc.
0 commit comments