Skip to content

Commit 9ee1a15

Browse files
committed
add unknown ci
1 parent 2fb6aad commit 9ee1a15

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,11 @@ jobs:
354354
run: |
355355
./scripts/github/run-cargo-hack.sh ${{ matrix.settings.crate }}
356356
357+
- name: Check unknown variant with transforms
358+
if: matrix.settings.crate == 'swc_ecma_transforms'
359+
run: |
360+
env RUSTFLAGS="--cfg swc_ast_unknown" cargo check -p ${{ matrix.settings.crate }} --features typescript,react,proposal,optimization,module,compat
361+
357362
node-test:
358363
name: Test node bindings - ${{ matrix.os }}
359364
if: >-

0 commit comments

Comments
 (0)