File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,12 +109,19 @@ jobs:
109109
110110 - name : Run CLI smoke command
111111 run : |
112+ QUERY_YAML=$(cat <<'EOF'
113+ views:
114+ - type: table
115+ name: default
116+ EOF
117+ )
118+
112119 if [ "${{ matrix.runtime }}" = "bun" ]; then
113- bun run src/cli.ts query --yaml "views:\n - type: table\n name: default " --dir fixtures/vaults/basic --format json >/tmp/mdbase-output.json
120+ bun run src/cli.ts query --yaml "$QUERY_YAML " --dir fixtures/vaults/basic --format json >/tmp/mdbase-output.json
114121 elif [ "${{ matrix.runtime }}" = "node" ]; then
115- node dist/cli.js query --yaml "views:\n - type: table\n name: default " --dir fixtures/vaults/basic --format json >/tmp/mdbase-output.json
122+ node dist/cli.js query --yaml "$QUERY_YAML " --dir fixtures/vaults/basic --format json >/tmp/mdbase-output.json
116123 else
117- deno run -A dist/cli.js query --yaml "views:\n - type: table\n name: default " --dir fixtures/vaults/basic --format json >/tmp/mdbase-output.json
124+ deno run -A dist/cli.js query --yaml "$QUERY_YAML " --dir fixtures/vaults/basic --format json >/tmp/mdbase-output.json
118125 fi
119126
120127 - name : Validate output
You can’t perform that action at this time.
0 commit comments