{"id":22746134,"url":"https://github.com/rspack-contrib/rspack-ecosystem-ci","last_synced_at":"2025-04-14T10:13:42.028Z","repository":{"id":154035754,"uuid":"624341047","full_name":"rspack-contrib/rspack-ecosystem-ci","owner":"rspack-contrib","description":"Rspack Ecosystem CI","archived":false,"fork":false,"pushed_at":"2025-04-09T21:58:05.000Z","size":520,"stargazers_count":10,"open_issues_count":2,"forks_count":5,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-04-14T10:13:38.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://web-infra-dev.github.io/rspack-ecosystem-benchmark/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rspack-contrib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-06T08:55:45.000Z","updated_at":"2025-04-09T21:58:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"9583ffc4-e3c6-4bbc-bc98-c0437431cffc","html_url":"https://github.com/rspack-contrib/rspack-ecosystem-ci","commit_stats":null,"previous_names":["rspack-contrib/rspack-ecosystem-ci","web-infra-dev/rspack-ecosystem-ci"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rspack-contrib%2Frspack-ecosystem-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rspack-contrib%2Frspack-ecosystem-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rspack-contrib%2Frspack-ecosystem-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rspack-contrib%2Frspack-ecosystem-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rspack-contrib","download_url":"https://codeload.github.com/rspack-contrib/rspack-ecosystem-ci/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860167,"owners_count":21173342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-11T02:11:28.863Z","updated_at":"2025-04-14T10:13:42.005Z","avatar_url":"https://github.com/rspack-contrib.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rspack-ecosystem-ci\n\nThis repository is used to run integration tests for Rspack ecosystem projects\n\n## via github workflow\n\n### scheduled\n\nWorkflows are sheduled to run automatically every day\n\n### manually\n\n- open [workflow](../../actions/workflows/ecosystem-ci-selected.yml)\n- click 'Run workflow' button on top right of the list\n- select suite to run in dropdown\n- start workflow\n\n## via shell script\n\n- clone this repo\n- run `pnpm i`\n- run `pnpm test` to run all suites\n- or `pnpm test \u003csuitename\u003e` to select a suite\n- or `tsx ecosystem-ci.ts`\n\nYou can pass `--tag v2.8.0-beta.1`, `--branch somebranch` or `--commit abcd1234` option to select a specific rspack version to build.\nIf you pass `--release 2.7.13`, rspack build will be skipped and rspack is fetched from the registry instead\n\nThe repositories are checked out into `workspace` subdirectory as shallow clones\n\n### cheat sheet\n\n- `pnpm test -- --release nightly \u003csuitename\u003e`: use nightly release to test rspack locally, using release can save time from building rspack locally\n- `pnpm test -- --branch main --suite-branch update-rspack \u003csuitename\u003e`: use update-rspack branch of suite to test main branch rspack\n\n# how to add a new integration test\n\n- check out the existing [tests](./tests) and add one yourself. Thanks to some utilities it is really easy\n- once you are confidente the suite works, add it to the lists of suites in the [workflows](../../actions/)\n\n\u003e the current utilities focus on pnpm based projects. Consider switching to pnpm or contribute utilities for other pms\n\n# reporting results\n\n## Discord\n\nResults are posted automatically to `#ecosystem-ci` on [Rspack discord](https://discord.com/invite/79ZZ66GH9E)\n\n### on your own server\n\n- Go to `Server settings \u003e Integrations \u003e Webhooks` and click `New Webhook`\n- Give it a name, icon and a channel to post to\n- copy the webhook url\n- get in touch with admins of this repo so they can add the webhook\n\n#### how to add a discord webhook here\n\n- Go to `\u003cgithub repo\u003e/settings/secrets/actions` and click on `New repository secret`\n- set `Name` as `DISCORD_WEBHOOK_URL`\n- paste the discord webhook url you copied from above into `Value`\n- Click `Add secret`\n\n## Credits\n\nThanks to:\n\n- [vitejs/vite-ecosystem-ci](https://github.com/vitejs/vite-ecosystem-ci)\n- [vuejs/ecosystem-ci](https://github.com/vuejs/ecosystem-ci)\n\nwhich inspired the development of this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frspack-contrib%2Frspack-ecosystem-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frspack-contrib%2Frspack-ecosystem-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frspack-contrib%2Frspack-ecosystem-ci/lists"}