Skip to content

Comments

chore(ci): add yarn-v1-windows e2e job#11231

Merged
slorber merged 15 commits intomainfrom
slorber/add-windows-e2e-test
Jun 5, 2025
Merged

chore(ci): add yarn-v1-windows e2e job#11231
slorber merged 15 commits intomainfrom
slorber/add-windows-e2e-test

Conversation

@slorber
Copy link
Collaborator

@slorber slorber commented Jun 3, 2025

Motivation

We currently don't run e2e tests on Windows

(the existing windows jobs run our website yarn build:website:fast, not the initial template.

I'm also adding an actions/upload-artifact step so that we can more easily inspect the build output. I don't have a Windows laptop so it can help troubleshoot windows-related problems (like this one)

Test Plan

CI

Windows notes:

For history, running the yarn scrit yarn test:build:website wouldn't work on Windows. The script wouldn't execute, and surprisingly wouldn't fail the GitHub action for unknown reason.

If we ever need to run a script on Windows, using bash worked better:

bash ./admin/scripts/test-release.sh -s

But now we have another problem:

Unable to find image 'verdaccio/verdaccio:latest' locally
latest: Pulling from verdaccio/verdaccio
docker: no matching manifest for windows/amd64 10.0.20348 in the manifest list entries.
See 'docker run --help'.

Unfortunately, there's no pre-built "verdaccio" docker image on Windows.
So I didn't use a real npm repository, and simply generated the test site inside the yarn workspace. Maybe we should migrate all our CI tests to that setup because it would be faster than using Verdaccio. I guess keeping only one job on Verdaccio could be useful though, since it's closer to what real users will run.

@slorber slorber added the pr: ignore This PR is not meaningful enough to appear in the changelog. label Jun 3, 2025
@slorber slorber requested a review from Josh-Cena as a code owner June 3, 2025 08:01
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jun 3, 2025
@netlify
Copy link

netlify bot commented Jun 3, 2025

[V2]

Name Link
🔨 Latest commit f6aced6
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6841725105bcc70008be340b
😎 Deploy Preview https://deploy-preview-11231--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

github-actions bot commented Jun 3, 2025

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🔴 37 🟢 98 🟢 100 🟢 100 Report
/docs/installation 🔴 49 🟢 97 🟢 100 🟢 100 Report
/docs/category/getting-started 🟠 71 🟢 100 🟢 100 🟠 86 Report
/blog 🟠 61 🟢 96 🟢 100 🟠 86 Report
/blog/preparing-your-site-for-docusaurus-v3 🔴 45 🟢 92 🟢 100 🟢 100 Report
/blog/tags/release 🟠 61 🟢 96 🟢 100 🟠 86 Report
/blog/tags 🟠 72 🟢 100 🟢 100 🟠 86 Report

@slorber slorber merged commit ef23f54 into main Jun 5, 2025
24 checks passed
@slorber slorber deleted the slorber/add-windows-e2e-test branch June 5, 2025 10:50
@slorber slorber restored the slorber/add-windows-e2e-test branch June 5, 2025 11:24
@slorber slorber deleted the slorber/add-windows-e2e-test branch June 5, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: ignore This PR is not meaningful enough to appear in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants