Skip to content

Commit 12f58a2

Browse files
authored
refactor: make logs more visible (#30)
This should make the action steps a bit more transparent and could help developers debugging.
1 parent 7776e33 commit 12f58a2

12 files changed

Lines changed: 182 additions & 330 deletions

File tree

build/expo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const cli = __importStar(require("@actions/exec"));
2626
function authenticate(username, password) {
2727
return __awaiter(this, void 0, void 0, function* () {
2828
if (!username || !password) {
29-
return core.debug('Skipping authentication, `expo-username` and/or `expo-password` not set...');
29+
return core.info('Skipping authentication, `expo-username` and/or `expo-password` not set...');
3030
}
3131
// github actions toolkit will handle commands with `.cmd` on windows, we need that
3232
const bin = process.platform === 'win32'

build/system.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ const cli = __importStar(require("@actions/exec"));
2828
function patchWatchers() {
2929
return __awaiter(this, void 0, void 0, function* () {
3030
if (process.platform !== 'linux') {
31-
return core.debug('Skipping patch for watchers, not running on Linux...');
31+
return core.info('Skipping patch for watchers, not running on Linux...');
3232
}
33-
core.debug('Patching system watchers for the `ENOSPC` error...');
33+
core.info('Patching system watchers for the `ENOSPC` error...');
3434
try {
3535
// see https://github.com/expo/expo-cli/issues/277#issuecomment-452685177
3636
yield cli.exec('sudo sysctl fs.inotify.max_user_instances=524288');

node_modules/@actions/exec/package.json

Lines changed: 21 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/bin-links/package.json

Lines changed: 29 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/gentle-fs/package.json

Lines changed: 29 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)