Context
The Lighthouse workflow fails on GitHub Actions because it uses a deprecated action.
Failed run (before fix): https://github.com/multei/web/actions/runs/29500476368/job/87627853033
This request has been automatically failed because it uses a deprecated version of
`actions/upload-artifact: v2`.
Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/
File: .github/workflows/lighthouse.yml
Goal
Update the Lighthouse workflow to currently supported GitHub Actions and restore a green job for the deprecated-action failure.
Suggested scope
Acceptance criteria
Notes
Context
The Lighthouse workflow fails on GitHub Actions because it uses a deprecated action.
Failed run (before fix): https://github.com/multei/web/actions/runs/29500476368/job/87627853033
File:
.github/workflows/lighthouse.ymlGoal
Update the Lighthouse workflow to currently supported GitHub Actions and restore a green job for the deprecated-action failure.
Suggested scope
actions/upload-artifactfromv2to a supported major (v4).actions/checkout@v7,treosh/lighthouse-ci-action@12.6.2) and upgrade if deprecated or incompatible.lighthouseresultsupload step is configured (upload-artifact@v4); end-to-end artifact publish still blocked until LHCI collect succeeds (see follow-up).Acceptance criteria
actions/upload-artifact@v4→lighthouseresults).CHROME_INTERSTITIAL_ERRORagainst https://multei.com.br)Notes
.github/workflows/: no otherupload-artifact@v1/v2.nodejs.ymlstill usesactions/checkout@v2/setup-node@v1(out of scope here).