Skip to content

Commit

Permalink
test(transformer): script to amend Babel fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel authored and Boshen committed Nov 15, 2024
1 parent 33ec4e6 commit e306f43
Show file tree
Hide file tree
Showing 5 changed files with 767 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ jobs:
save-cache: ${{ github.ref_name == 'main' }}
tools: just

- name: Update transformer fixtures
if: steps.filter.outputs.src == 'true'
run: bun tasks/transform_conformance/update_fixtures.js

- name: Check Conformance
if: steps.filter.outputs.src == 'true'
run: |
Expand Down
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ submodules:
just clone-submodule tasks/coverage/babel git@github.com:babel/babel.git d20b314c14533ab86351ecf6ca6b7296b66a57b3
just clone-submodule tasks/coverage/typescript git@github.com:microsoft/TypeScript.git df9d16503f6755dd071e4c591b9d21c39d03d95e
just clone-submodule tasks/prettier_conformance/prettier git@github.com:prettier/prettier.git 52829385bcc4d785e58ae2602c0b098a643523c9
node tasks/transform_conformance/update_fixtures.js

# Install git pre-commit to format files
install-hook:
Expand Down
Loading

0 comments on commit e306f43

Please sign in to comment.