Skip to content

Commit fd54a06

Browse files
committed
test: skip community in regular tests
1 parent 9842cd9 commit fd54a06

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/e2e-test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ concurrency:
55
cancel-in-progress: true
66

77
on:
8+
# temporary to test fix
9+
pull_request:
10+
branches:
11+
- '**'
812
push:
913
branches:
1014
- main
@@ -30,7 +34,9 @@ jobs:
3034
- id: set-matrix
3135
shell: bash
3236
run: |
33-
echo "templates=$(${{ github.workspace }}/dist/bin/index.cjs --list-template-ids | tr -d '[:space:]')" >> $GITHUB_OUTPUT
37+
CLI_PATH="${{ github.workspace }}/dist/bin/index.cjs"
38+
templates=$(node "$CLI_PATH" --list-template-ids | jq -c 'map(select(contains("/community/") | not))')
39+
echo "templates=$templates" >> "$GITHUB_OUTPUT"
3440
3541
test:
3642
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)