Skip to content

Commit

Permalink
🏗 Clean up log coloring, enable on GH Actions (#32604)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimha committed Feb 11, 2021
1 parent 0919da4 commit 494c865
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ if [[ "$OSTYPE" == "linux-gnu"* || "$OSTYPE" == "darwin"* ]]; then
echo "$HOME/.npm/bin" >> $GITHUB_PATH # For later
fi

echo $(GREEN "Enabling log coloring...")
echo "FORCE_COLOR=1" >> $GITHUB_ENV

echo $(GREEN "Installing gulp-cli...")
npm install --global gulp-cli

Expand Down
2 changes: 1 addition & 1 deletion build-system/compile/log-messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
const argv = require('minimist')(process.argv.slice(2));
const fs = require('fs-extra');
const {cyan} = require('colors');
const {cyan} = require('kleur/colors');
const {log} = require('../common/logging');

const pathPrefix = 'dist/log-messages';
Expand Down

0 comments on commit 494c865

Please sign in to comment.