Skip to content

Commit 0bf8578

Browse files
author
Mike K
committed
Update to latest api wrapper
1 parent 94404e3 commit 0bf8578

File tree

1,646 files changed

+12
-497216
lines changed

Some content is hidden

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

1,646 files changed

+12
-497216
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
- name: Checkout
3333
uses: actions/checkout@v2
3434

35-
- name: WebPageTest
36-
uses: WPO-Foundation/webpagetest-github-action@main
35+
- name: WebPageTest
36+
uses: catchpoint/WebPageTest.api-nodejs@main
3737
with:
3838
apiKey: ${{ secrets.WPT_API_KEY }}
3939
urls: |
@@ -62,7 +62,7 @@ The tests will be run with the following WebPageTest settings:
6262
However, WebPageTest is capable of going _very_ deep, and the GitHub Action provides a number of configuration settings to help fine-tune your tests and even fail a pull request if performance budgets aren't met.
6363

6464
### Setting performance budgets
65-
WebPageTest's GitHub Action uses the [WebPageTest API Wrapper for NodeJS](https://github.com/marcelduran/webpagetest-api) under the hood. The wrapper provides [test specs](https://github.com/marcelduran/webpagetest-api/wiki/Test-Specs) functionality that lets you set budgets on any of the metrics returned by the WebPageTest API.
65+
WebPageTest's GitHub Action uses the [WebPageTest API Wrapper for NodeJS](https://github.com/catchpoint/WebPageTest.api-nodejs) under the hood. The wrapper provides [test specs](https://github.com/catchpoint/WebPageTest.api-nodejs/wiki/Test-Specs) functionality that lets you set budgets on any of the metrics returned by the WebPageTest API.
6666

6767
The GitHub Action lets you provide a path to a specs JSON file using the `budget` input. If a specs file is included, WebPageTest's GitHub Action will test the results against the budgets you've defined. If any budget isn't met, the tests will fail and you'll be provided with links to dig into the full WebPageTest results to see what was slowing things down.
6868

@@ -80,7 +80,7 @@ jobs:
8080
uses: actions/checkout@v2
8181
8282
- name: WebPageTest
83-
uses: WPO-Foundation/webpagetest-github-action@main
83+
uses: catchpoint/WebPageTest.api-nodejs@main
8484
with:
8585
apiKey: ${{ secrets.WPT_API_KEY }}
8686
urls: |
@@ -106,7 +106,7 @@ WebPageTest would test each run's First Contentful Paint. If the First Contentfu
106106

107107
![Example of a WPT action failing the PR if a budget is exceeded](/images/wpt-action-fail-pr.png)
108108

109-
The specs format provides tremendous flexiblity in which metrics you want to budget against. For more information, check out [the official documentation](https://github.com/marcelduran/webpagetest-api/wiki/Test-Specs).
109+
The specs format provides tremendous flexiblity in which metrics you want to budget against. For more information, check out [the official documentation](https://github.com/catchpoint/WebPageTest.api-nodejs/wiki/Test-Specs).
110110

111111
### Testing against a deployment URL
112112
If you are going to set and enforce performance budgets, **make sure to pass a preview URL** to test against to make sure that you're testing against the latest changes, not against a prior version of your site.
@@ -131,7 +131,7 @@ jobs:
131131
site_name: 'your-netlify-site-name'
132132
133133
- name: WebPageTest
134-
uses: WPO-Foundation/webpagetest-github-action@main
134+
uses: catchpoint/WebPageTest.api-nodejs@main
135135
with:
136136
apiKey: ${{ secrets.WPT_API_KEY }}
137137
urls: |
@@ -149,7 +149,7 @@ _If you are testing against a Netlify deployment preview, it's important to note
149149
```
150150
151151
### Customizing your WebPageTest tests
152-
There are a _lot_ of [options available in WebPageTest](https://github.com/marcelduran/webpagetest-api#test-works-for-runtest-method-only) to customize your test results, record custom metrics, or do advanced scripting and multi-page flows.
152+
There are a _lot_ of [options available in WebPageTest](https://github.com/catchpoint/WebPageTest.api-nodejs#test-works-for-runtest-method-only) to customize your test results, record custom metrics, or do advanced scripting and multi-page flows.
153153
154154
To give you the ability to customize you tests, the WebPageTest GitHub Action let's you provide the path to a JSON object with your test options, using the `wptOptions` input.
155155
@@ -167,7 +167,7 @@ jobs:
167167
uses: actions/checkout@v2
168168
169169
- name: WebPageTest
170-
uses: WPO-Foundation/webpagetest-github-action@main
170+
uses: catchpoint/WebPageTest.api-nodejs@main
171171
with:
172172
apiKey: ${{ secrets.WPT_API_KEY }}
173173
urls: |

node_modules/.bin/_mocha

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/_mocha.cmd

Lines changed: 0 additions & 17 deletions
This file was deleted.

node_modules/.bin/_mocha.ps1

Lines changed: 0 additions & 28 deletions
This file was deleted.

node_modules/.bin/ejs

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/ejs.cmd

Lines changed: 0 additions & 17 deletions
This file was deleted.

node_modules/.bin/ejs.ps1

Lines changed: 0 additions & 28 deletions
This file was deleted.

node_modules/.bin/flat

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/flat.cmd

Lines changed: 0 additions & 17 deletions
This file was deleted.

node_modules/.bin/flat.ps1

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)