@@ -15,11 +15,11 @@ jobs:
1515 run :
1616 working-directory : ./
1717 steps :
18- - uses : actions/checkout@v3
18+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
1919 with :
2020 persist-credentials : false
2121
22- - uses : actions/setup-node@v3
22+ - uses : actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
2323 with :
2424 node-version : 20
2525 cache : ' yarn'
5454 steps :
5555 # Step 1: Retrieve the Vercel Preview URL
5656 - name : vercel-preview-url
57- uses : zentered/vercel-preview-url@v1.1.9
57+ uses : zentered/vercel-preview-url@e5fb141da2e3d62692b38e6c7c17477aad214165 # v1.1.9
5858 id : vercel_preview_url
5959 env :
6060 VERCEL_TOKEN : ${{ secrets.VERCEL_TOKEN }}
6363 vercel_team_id : ${{ secrets.VERCEL_ORG_ID }}
6464
6565 # Step 2: Wait for the Vercel deployment to be ready
66- - uses : UnlyEd/github-action-await-vercel@v1
66+ - uses : UnlyEd/github-action-await-vercel@3d536f03d951e603b21701814ba211dcbbafaf93 # v1
6767 id : await-vercel
6868 env :
6969 VERCEL_TOKEN : ${{ secrets.VERCEL_TOKEN }}
@@ -72,12 +72,12 @@ jobs:
7272 timeout : 420
7373 poll-interval : 15
7474
75- - uses : actions/checkout@v3
75+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
7676 with :
7777 persist-credentials : false
7878 - name : Audit preview URL with Lighthouse (mobile)
7979 id : lighthouse_audit_mobile
80- uses : treosh/lighthouse-ci-action@v9
80+ uses : treosh/lighthouse-ci-action@2e159d989f91bb9e399801b3e1ad90bcd4749f75 # v9
8181 with :
8282 urls : |
8383 https://${{ steps.vercel_preview_url.outputs.preview_url }}
8686
8787 - name : Audit preview URL with Lighthouse (desktop)
8888 id : lighthouse_audit
89- uses : treosh/lighthouse-ci-action@v9
89+ uses : treosh/lighthouse-ci-action@2e159d989f91bb9e399801b3e1ad90bcd4749f75 # v9
9090 with :
9191 urls : |
9292 https://${{ steps.vercel_preview_url.outputs.preview_url }}
9696
9797 - name : Format Lighthouse score
9898 id : format_lighthouse_score
99- uses : actions/github-script@v3
99+ uses : actions/github-script@ffc2c79a5b2490bd33e0a41c1de74b877714d736 # v3
100100 with :
101101 github-token : ${{secrets.GITHUB_TOKEN}}
102102 script : |
@@ -131,7 +131,7 @@ jobs:
131131 ].join('\n');
132132 core.setOutput("comment", comment);
133133 - name : Add comment to PR
134- uses : mshick/add-pr-comment@v1
134+ uses : mshick/add-pr-comment@a96c578acba98b60f16c6866d5f20478dc4ef68b # v1
135135 with :
136136 message : |
137137 ${{ steps.format_lighthouse_score.outputs.comment }}
0 commit comments