Skip to content

Commit 5d8175e

Browse files
committed
Workflow: Fixed SHA for download artifact
1 parent 39cf303 commit 5d8175e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: |
4848
node performance/lighthouse-script.js
4949
- name: Download the artifact for main
50-
uses: actions/download-artifact@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
50+
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
5151
with:
5252
name: lighthouse-reports-main
5353
path: ./main-report

performance/lighthouse-script.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const signIntoFrontDoor = async (browser, env) => {
1818
console.log('Logged in...');
1919
await page.close();
2020
} catch {
21-
console.log('Unable to log in...');
21+
console.log('Unable to log in or not needed...');
2222
}
2323
};
2424

@@ -49,6 +49,7 @@ const launchBrowser = async () => {
4949
url: `https://frontdoor-test-docs.nginx.com/previews/nginx-hugo-theme/${PR_NUMBER}/`,
5050
};
5151

52+
console.log(`Running on ${environment.url}...`);
5253
await signIntoFrontDoor(browser, environment);
5354
await generateLighthouseReport(environment);
5455

0 commit comments

Comments
 (0)