refactor(minifier): make the minifier api only accept an ast (#990) #632
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Conformance | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize] | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.yml' | |
- 'npm/**' | |
- 'website/**' | |
- 'crates/oxc/**' | |
- 'crates/oxc_cli/**' | |
- 'crates/oxc_formatter/**' | |
- 'crates/oxc_linter/**' | |
- 'crates/oxc_napi/**' | |
- 'crates/oxc_query/**' | |
- 'crates/oxc_resolver/**' | |
- 'crates/oxc_type_synthesis/**' | |
- 'crates/oxc_wasm/**' | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.yml' | |
- 'npm/**' | |
- 'website/**' | |
- 'crates/oxc/**' | |
- 'crates/oxc_cli/**' | |
- 'crates/oxc_formatter/**' | |
- 'crates/oxc_linter/**' | |
- 'crates/oxc_napi/**' | |
- 'crates/oxc_query/**' | |
- 'crates/oxc_resolver/**' | |
- 'crates/oxc_type_synthesis/**' | |
- 'crates/oxc_wasm/**' | |
jobs: | |
conformance: | |
name: Conformance | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true # Pull submodules for `cargo coverage` | |
- name: Install Rust Toolchain | |
uses: ./.github/actions/rustup | |
- run: cargo coverage | |
- run: cargo run --release -p oxc_transform_conformance | |
# - run: cargo minsize | |
- name: Check for snapshot diff | |
run: git diff --exit-code |