Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core actions #137

Closed
wants to merge 15 commits into from
Closed

Core actions #137

wants to merge 15 commits into from

Conversation

EndBug
Copy link

@EndBug EndBug commented Mar 29, 2021

This PR fixes #136.

It makes it so that the default logger is a custom version of Signale, with the functionality to log to the workflow run report using the GitHub command syntax.

The error, fatal, warn, and debug methods have been extended so that they log the command instead of the Signale log. You can suppress this behavior by setting { noIssue: true } in the log options (as documented in the README)
startGroup and endGroup are the two new methods to handle log grouping.

The target version of the TypeScript build has been bumped to es6: tests fail when es5 is used, because Signale uses a es6 class that cannot be extended in es5. As stated in this StackOverflow answer, es6 is supported everywhere nowadays, and so it shouldn't be a problem.


  • Tests have been added/updated (if necessary)
  • Documentation has been updated (if necessary)

@github-actions
Copy link

This pull request has been inactive for awhile; please comment if it's still relevant!

@github-actions github-actions bot added the Stale label Jun 23, 2021
@github-actions github-actions bot closed this Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate Signale logs with GH actions syntax
1 participant