Skip to content

Commit d699515

Browse files
authored
Merge pull request #217 from solana-foundation/fix/172
test: skip community in regular tests
2 parents 9842cd9 + 9218bdc commit d699515

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/e2e-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
- id: set-matrix
3131
shell: bash
3232
run: |
33-
echo "templates=$(${{ github.workspace }}/dist/bin/index.cjs --list-template-ids | tr -d '[:space:]')" >> $GITHUB_OUTPUT
33+
CLI_PATH="${{ github.workspace }}/dist/bin/index.cjs"
34+
templates=$(node "$CLI_PATH" --list-template-ids | jq -c 'map(select(contains("/community/") | not))')
35+
echo "templates=$templates" >> "$GITHUB_OUTPUT"
3436
3537
test:
3638
runs-on: ubuntu-latest

src/utils/get-args.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Examples:
7575
}
7676

7777
if (result.listTemplateIds) {
78-
console.log(listTemplateIds({ templates }))
78+
console.log(JSON.stringify(listTemplateIds({ templates })))
7979
process.exit(0)
8080
}
8181
let packageManager = result.packageManager ?? pm

0 commit comments

Comments
 (0)