Skip to content

Commit b4fc9c7

Browse files
committed
Write output to a file
1 parent c369585 commit b4fc9c7

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,13 @@ jobs:
115115

116116
- name: Generate (branch)
117117
working-directory: branch
118-
run: bun run test:gen
118+
run: |
119+
(bun run test:gen 2>&1 | tee output) || true # If this fails we're going to see a massive diff
120+
# We should probably still fail eventually
121+
122+
- name: View generation output (branch)
123+
working-directory: branch
124+
run: cat output
119125

120126
- name: Generate (main)
121127
working-directory: main

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"review:watch": "elm-review --watch --fix",
1414
"format": "elm-format src tests --validate",
1515
"test": "elm-test",
16-
"test:gen": "cd cli && elm-pages run src/TestGenScript.elm",
16+
"test:gen": "cd cli && bunx elm-pages run src/TestGenScript.elm",
1717
"test:watch": "elm-test --watch",
1818
"pub": "npm run build && npm publish"
1919
},

0 commit comments

Comments
 (0)