Skip to content

Commit

Permalink
ci: run codegen twice
Browse files Browse the repository at this point in the history
2 runs of codegen is needed until readme table generation is decoupled from the json-schema
  • Loading branch information
hougesen authored Oct 27, 2024
1 parent 0eb426e commit d2427be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [20]
node: [22]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -23,6 +23,8 @@ jobs:
node-version: ${{ matrix.node }}
- name: Generate stuff
run: cargo run --package mdsf-codegen
# A second run is needed until the readme generation is decoupled from the json-schema
- run: cargo run --package mdsf-codegen
- name: Format stuff
run: npx prettier@latest --write schemas mdsf.json README.md && cargo run -- format README.md
- uses: EndBug/add-and-commit@v9
Expand Down

0 comments on commit d2427be

Please sign in to comment.