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 committed Nov 22, 2024
1 parent 971c91a commit b4c5bea
Show file tree
Hide file tree
Showing 5 changed files with 742 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 @@ -39,6 +39,7 @@ submodules:
just clone-submodule tasks/coverage/babel https://github.com/babel/babel.git d20b314c14533ab86351ecf6ca6b7296b66a57b3
just clone-submodule tasks/coverage/typescript https://github.com/microsoft/TypeScript.git df9d16503f6755dd071e4c591b9d21c39d03d95e
just clone-submodule tasks/prettier_conformance/prettier https://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 b4c5bea

Please sign in to comment.