Skip to content

Commit 746959f

Browse files
committed
test
1 parent 8bc9293 commit 746959f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
defaults:
1717
run:
18-
shell: echo "{0}"
18+
shell: bash -e {0} 2> >(tee -a ${{ github.workspace }}/stderr.log >&2)
1919
steps:
2020
- uses: actions/checkout@v4
2121
with:
@@ -32,7 +32,6 @@ jobs:
3232

3333
- run: npm ci
3434
- run: npm run check
35-
3635
- run: npm run format:core:check
3736
## TODO: content formatting checks
3837
- run: npm run build
@@ -63,7 +62,10 @@ jobs:
6362
# cut -d' ' -f2-) # remove timestamp
6463
# sed -n '/\[.*error.*\]/I,$p') # select lines from '[...error...]' or 'npm err' (case-insensitive) to EOF
6564
66-
cat stderr.log
65+
echo $SHELLOPTS
66+
67+
ls ${{ github.workspace }}
68+
cat ${{ github.workspace }}/stderr.log
6769
6870
if [ -s "stderr.log" ]; then
6971
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token

0 commit comments

Comments
 (0)