Skip to content

vitejs/vite-ecosystem-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a3158ed · Apr 22, 2025
Apr 22, 2025
Oct 21, 2024
Jul 7, 2023
Apr 15, 2025
Jan 14, 2022
Dec 3, 2022
Jun 3, 2024
Dec 3, 2022
Jan 7, 2022
Jan 16, 2024
Oct 31, 2024
Dec 13, 2024
Oct 31, 2024
Mar 15, 2025
Mar 15, 2025
Nov 3, 2023
Oct 31, 2024
Apr 17, 2025

Repository files navigation

vite-ecosystem-ci

This repository is used to run integration tests for vite ecosystem projects

via github workflow

scheduled

Workflows are scheduled to run automatically every Monday, Wednesday and Friday

manually

  • open workflow
  • 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 <suitename> to select a suite
  • or tsx 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

via comment on PR

  • comment /ecosystem-ci run on a PR
  • or /ecosystem-ci run <suitename> to select a suite

Users with triage permission to vitejs/vite repository can only use this.

See docs/pr-comment-setup.md for how to setup this feature.

how to add a new integration test

  • check out the existing tests and add one yourself. Thanks to some utilities it is really easy
  • once you are confident the suite works, add it to the lists of suites in the workflows

reporting results

Discord

Results are posted automatically to #ecosystem-ci on vite discord

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 <github repo>/settings/secrets/actions and click on New repository secret
  • set Name as DISCORD_WEBHOOK_URL
  • paste the discord webhook url you copied from above into Value
  • Click Add secret