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

[CI/CD] Add eslint workflow #316

Merged
merged 6 commits into from
Jan 16, 2024
Merged

Conversation

RyanL1997
Copy link
Contributor

Description

Add eslint workflow

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Ryan Liang <[email protected]>
Signed-off-by: Ryan Liang <[email protected]>
Signed-off-by: Ryan Liang <[email protected]>
ps48
ps48 previously approved these changes Jan 11, 2024
@ps48
Copy link
Member

ps48 commented Jan 11, 2024

@RyanL1997 Also, styleLint step in test and build workflows are failing: error Command "lint:style" not found. can you please take a look?

Signed-off-by: Ryan Liang <[email protected]>
Signed-off-by: Ryan Liang <[email protected]>
Copy link

codecov bot commented Jan 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d1551b7) 94.73% compared to head (3ea4678) 94.73%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #316   +/-   ##
=======================================
  Coverage   94.73%   94.73%           
=======================================
  Files           5        5           
  Lines         152      152           
  Branches       45       45           
=======================================
  Hits          144      144           
  Misses          8        8           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RyanL1997
Copy link
Contributor Author

RyanL1997 commented Jan 12, 2024

@RyanL1997 Also, styleLint step in test and build workflows are failing: error Command "lint:style" not found. can you please take a look?

@ps48 . Good Catch. I have added the "lint:style": "node ../../scripts/stylelint", command back. It is all green right now.

@ps48 ps48 merged commit 09ef7f9 into opensearch-project:main Jan 16, 2024
12 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 16, 2024
* Add eslint workflow

Signed-off-by: Ryan Liang <[email protected]>

* Correct the plugin name

Signed-off-by: Ryan Liang <[email protected]>

* Correct the plugin name2

Signed-off-by: Ryan Liang <[email protected]>

* change the linting running dir

Signed-off-by: Ryan Liang <[email protected]>

* Fix some comments

Signed-off-by: Ryan Liang <[email protected]>

* Add stylelint back

Signed-off-by: Ryan Liang <[email protected]>

---------

Signed-off-by: Ryan Liang <[email protected]>
(cherry picked from commit 09ef7f9)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
RyanL1997 added a commit to RyanL1997/dashboards-visualizations that referenced this pull request Jan 19, 2024
* Add eslint workflow

Signed-off-by: Ryan Liang <[email protected]>

* Correct the plugin name

Signed-off-by: Ryan Liang <[email protected]>

* Correct the plugin name2

Signed-off-by: Ryan Liang <[email protected]>

* change the linting running dir

Signed-off-by: Ryan Liang <[email protected]>

* Fix some comments

Signed-off-by: Ryan Liang <[email protected]>

* Add stylelint back

Signed-off-by: Ryan Liang <[email protected]>

---------

Signed-off-by: Ryan Liang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants