diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 84c46f8..1070c72 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,9 +5,9 @@ name: TEST on: # Triggers the workflow on push or pull request events but only for the "main" branch push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: build: @@ -16,12 +16,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - + - name: WebPageTest - uses: catchpoint/WebPageTest.github-action@update_packages + uses: catchpoint/WebPageTest.github-action@test_lb with: apiKey: ${{ secrets.WPT_API_KEY }} urls: | https://example.com/ https://example.com/about - label: 'GitHub Action Test' + label: "GitHub Action Test" diff --git a/.github/workflows/webpagetest-action.yml b/.github/workflows/webpagetest-action.yml deleted file mode 100644 index 127c2f4..0000000 --- a/.github/workflows/webpagetest-action.yml +++ /dev/null @@ -1,18 +0,0 @@ -on: [pull_request] - -jobs: - build: - runs-on: ubuntu-latest - name: WebPageTest Action - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: WebPageTest - uses: WPO-Foundation/webpagetest-github-action@main - with: - apiKey: ${{ secrets.WPT_API_KEY }} - urls: | - https://example.com/ - https://example.com/about - label: 'GitHub Action Test'