This repository is used to run integration tests for volar ecosystem projects
Workflows are scheduled to run automatically every Monday, Wednesday and Friday
- open workflow
- click 'Run workflow' button on top right of the list
- select suite to run in dropdown
- start workflow
- clone this repo
- run
pnpm i - run
pnpm testto 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 volar version to build.
If you pass --release 2.7.13, volar build will be skipped and volar is fetched from the registry instead
The repositories are checked out into workspace subdirectory as shallow clones
- comment
/ecosystem-ci runon a PR - or
/ecosystem-ci run <suitename>to select a suite
Users with triage permission to volarjs/volar.js repository can only use this.
See docs/pr-comment-setup.md for how to setup this feature.
- 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
Results are posted automatically to #ecosystem-ci on volar discord
- Go to
Server settings > Integrations > Webhooksand clickNew 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
- Go to
<github repo>/settings/secrets/actionsand click onNew repository secret - set
NameasDISCORD_WEBHOOK_URL - paste the discord webhook url you copied from above into
Value - Click
Add secret