Skip to content

Commit 0af7e50

Browse files
committed
chore(release): Fix displaying colors in GitHub Actions
1 parent f86bb85 commit 0af7e50

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
pull-requests: write # to be able to comment on released pull requests
1919
id-token: write # to enable use of OIDC for npm provenance
2020

21+
defaults:
22+
run:
23+
# Fix ANSI color codes for GitHub actions
24+
shell: 'script -q -e -c "export TERM=xterm-256color; bash --noprofile --norc -eo pipefail {0}"'
25+
2126
steps:
2227
- name: Checkout
2328
uses: actions/checkout@v4

0 commit comments

Comments
 (0)