Skip to content

Commit 5f1597d

Browse files
committed
chore: find index.cjs
1 parent de80b08 commit 5f1597d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ jobs:
3232
- name: Generate compact artifacts
3333
run: |
3434
set -euo pipefail
35+
mkdir -p packages/contract/src/managed/midnight-setup
3536
compact compile packages/contract/src/midnight-setup.compact packages/contract/src/managed/midnight-setup
36-
ls -la packages/contract/src/managed/midnight-setup/contract/index.cjs
37+
if [ ! -f packages/contract/src/managed/midnight-setup/contract/index.cjs ]; then
38+
echo "compact output not found; listing managed tree for debugging:"
39+
find packages/contract/src/managed -maxdepth 5 -type f
40+
exit 1
41+
fi
3742
- name: Build all packages
3843
run: yarn build:all

0 commit comments

Comments
 (0)