oxc/.github/workflows/conformance.yml
Boshen ceeee5909b
Remove HIR (#917)
closes #273
closes #814

HIR is removed from this PR, with the minifier being commented out.

HIR is a wonderful idea for compiling to lower languages, but after
sitting on it for a few months I found that it only adds confusion and
uncertainties to both myself and future contributors.

It also adds too much burden to maintainers if we plan to support more
downstream tools.

1 AST is the only way.
2023-09-15 23:48:32 +08:00

56 lines
1.2 KiB
YAML

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 minsize
- name: Check for snapshot diff
run: git diff --exit-code