Skip to content

oxc-project/oxc-ecosystem-ci

Repository files navigation

Oxc Ecosystem CI

This repository is used to run integration tests for oxlint and oxfmt ecosystem projects. The workflows will be run on a scheduled basis and can also be triggered manually.

Oxlint

Maintenance

  • Boshen may submit a oxlint adjustment PR to your repository if it fails to run correctly.
  • Due to maintenance burden, a sponsorship will have a more likely hood of having the PR accepted.

Manual github workflow

  • open workflow
  • click 'Run workflow' button on top right of the list
  • change ref for a different branch

Local

  • pnpm run clone:oxlint - clones all the repositories
  • pnpm run update:oxlint - updates (git pull) all the repositories
  • pnpm run test:oxlint /path/to/oxc/target/release/oxlint ARGS - run oxlint

Integrated Repositories

See ./oxlint-matrix.json.

Notable repositories:

Oxfmt

What we are checking

  1. Oxfmt can format the integrated repositories without any differences.
  2. Oxfmt does not drop any code in the formatting process.
  3. Oxfmt does not panic during the formatting process.

How the comparison works

Each repository is formatted with 3 builds of oxfmt, and their diffs are compared:

axis compared against meaning fails the run
oxfmt@latest (npm) repository released version health on panic or error
main build oxfmt@latest preview of merged-but-unreleased changes only on scheduled / push runs
ref build main build changes introduced by the ref under test always

Comparing ref against a main-built baseline (instead of oxfmt@latest) keeps merged-but-unreleased changes out of PR results. This is useful especially for a Prettier version bump.

Manual github workflow

  • open workflow
  • click 'Run workflow' button on top right of the list
  • change ref for a different branch

Local

  • pnpm run clone:oxfmt - clones all the repositories
  • pnpm run update:oxfmt - updates (git pull) all the repositories
  • pnpm run test:oxfmt /path/to/oxc/target/release/oxfmt ARGS - run oxfmt

Integrated Repositories

See ./oxfmt-matrix.json.

Our sponsors

About

Oxlint Ecosystem CI

Resources

Stars

14 stars

Watchers

3 watching

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors