https://github.com/aslemammad/vite-ecosystem-ci
Vite Ecosystem CI
https://github.com/aslemammad/vite-ecosystem-ci
Last synced: 9 months ago
JSON representation
Vite Ecosystem CI
- Host: GitHub
- URL: https://github.com/aslemammad/vite-ecosystem-ci
- Owner: Aslemammad
- License: mit
- Fork: true (vitejs/vite-ecosystem-ci)
- Created: 2022-02-06T13:31:22.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-19T18:30:05.000Z (over 1 year ago)
- Last Synced: 2025-01-22T09:28:57.895Z (over 1 year ago)
- Size: 699 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vite-ecosystem-ci
This repository is used to run integration tests for vite ecosystem projects
## via github workflow
### scheduled
Workflows are sheduled to run automatically every Monday, Wednesday and Friday
### manually
- open [workflow](../../actions/workflows/ecosystem-ci-selected.yml)
- click 'Run workflow' button on top right of the list
- select suite to run in dropdown
- start workflow
## via shell script
- clone this repo
- run `pnpm i`
- run `pnpm test` to run all suites
- or `pnpm test ` to select a suite
- or `esmo ecosystem-ci.ts`
You can pass `--tag v2.8.0-beta.1`, `--branch somebranch` or `--commit abcd1234` option to select a specific vite version to build.
If you pass `--release 2.7.13`, vite build will be skipped and vite is fetched from the registry instead
The repositories are checked out into `workspace` subdirectory as shallow clones
# how to add a new integration test
- check out the existing [tests](./tests) and add one yourself. Thanks to some utilities it is really easy
- once you are confidente the suite works, add it to the lists of suites in the [workflows](../../actions/)
> the current utilities focus on pnpm based projects. Consider switching to pnpm or contribute utilities for other pms
# reporting results
## Discord
Results are posted automatically to `#ecosystem-ci` on [vite discord](https://chat.vitejs.dev/)
### on your own server
- Go to `Server settings > Integrations > Webhooks` and click `New Webhook`
- Give it a name, icon and a channel to post to
- copy the webhook url
- get in touch with admins of this repo so they can add the webhook
#### how to add a discord webhook here
- Go to `/settings/hooks` and click on `Add webhook`
- paste the discord webhook url you copied from above into `Payload URL` and add `/github` to the end
- set `Content type` select to `application/json`
- Select `Let me select individual events`
- Tick the checkbox `Check runs`
- Click `Add webhook`