To test, you can create some faulty .mq5 file (see tests/Dummy.mq5 for working example).
Please install pre-commit tool, so all your commits are automatically checked for expected styling.
To build project, run: npm run build.
To run test, run: npm run test (currently empty).
For linting, run: npm run lint.
To check formatting, run: npm run format-check.
Acceptance criteria.
[x] Post comments on Pull Request when there are reported compilation warnings/errors. However the PR it-self should come without any errors or comments (you should test these errors ideally in your fork).
[x] All GitHub Action tests needs to pass.
IssueHunt Summary
#### [ bunysae](https://issuehunt.io/u/bunysae) has been rewarded.
### Backers (Total: $20.00)
- [ ea31337](https://issuehunt.io/u/ea31337) ($20.00)
### Submitted pull Requests
- [#21 Create comment for errors/warnings](https://issuehunt.io/r/FX31337/MQL-Compile-Action/pull/21)
---
### Tips
- Checkout the [Issuehunt explorer](https://issuehunt.io/r/FX31337/MQL-Compile-Action/) to discover more funded issues.
- Need some help from other developers? [Add your repositories](https://issuehunt.io/r/new) on IssueHunt to raise funds.
The main goal of this task is to post warnings/errors on PR comment in case of compilation issues.
Please check GitHub API for details. For action basics read: Creating a JavaScript action.
Please check the similar action: Add a comment to an issue or pull request.
Tips:
index.js
..mq5
file (seetests/Dummy.mq5
for working example).pre-commit
tool, so all your commits are automatically checked for expected styling.npm run build
.npm run test
(currently empty).npm run lint
.npm run format-check
.Acceptance criteria.
IssueHunt Summary
#### [