Skip to content

Commit b153e3a

Browse files
committed
Output colored text in CI
1 parent 6796fee commit b153e3a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
env:
1010
# Installing Chrome is not required for linting files.
1111
PUPPETEER_SKIP_DOWNLOAD: true
12+
# Output colored text
13+
FORCE_COLOR: 1
1214

1315
jobs:
1416
lint:

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ on:
66
pull_request:
77
branches: [main]
88

9+
env:
10+
# Output colored text
11+
FORCE_COLOR: 1
12+
913
jobs:
1014
test:
11-
name: Test on ${{ matrix.os }} using Node.js v${{ matrix.node }}
15+
name: Test on ${{ RUNNER_OS }} using Node.js v${{ matrix.node }}
1216
continue-on-error: true
1317
strategy:
1418
matrix:

0 commit comments

Comments
 (0)