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

[Vue Rewrite] Fix CI Jobs #1816

Merged
merged 19 commits into from
Jun 9, 2022
Merged

Conversation

devlinjunker
Copy link
Contributor

@devlinjunker devlinjunker commented Jun 7, 2022

Start of getting a hold of the Vue Rewrite

  • This fixes update CI Stuff in Vue rewrite #748
    • Note: as part of conversations with @SMillerDev, we removed the npm test that did echo 'TODO' -- so we expect the Frontend tests CI to fail now
  • Ensure runs on Node v16
    • added a bunch of libraries to package.json This is most of the actual substantial changes in this PR
  • Passes eslint and stylelint checks
    • Most of this PR is just indentation/style changes so that these will pass
    • needs more cleanup here.. but it is passing for now
  • Added brief update to CHANGELOG.MD for rewrite (necessary for CI)
    • TBD if 19.x.x is correct... could be pushed if this loses momentum

See devlinjunker#1 for full work history and comments

Visual

vue-rewrite working

Up Next:

Signed-off-by: Devlin Junker <[email protected]>
Signed-off-by: Devlin Junker <[email protected]>
Signed-off-by: Devlin Junker <[email protected]>
Signed-off-by: Devlin Junker <[email protected]>
Signed-off-by: Devlin Junker <[email protected]>
Signed-off-by: Devlin Junker <[email protected]>
Signed-off-by: Devlin Junker <[email protected]>
Signed-off-by: Devlin Junker <[email protected]>
Signed-off-by: Devlin Junker <[email protected]>
Signed-off-by: Devlin Junker <[email protected]>
Signed-off-by: Devlin Junker <[email protected]>
Signed-off-by: Devlin Junker <[email protected]>
package.json Outdated
@@ -10,7 +10,8 @@
"lint": "eslint --ext .js,.vue src",
"lint:fix": "eslint --ext .js,.vue src --fix",
"stylelint": "stylelint **/*.css **/*.scss **/*.vue",
"stylelint:fix": "stylelint **/*.css **/*.scss **/*.vue --fix"
"stylelint:fix": "stylelint **/*.css **/*.scss **/*.vue --fix",
"test": "echo 'TODO'"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably shouldn't be here

Copy link
Contributor Author

@devlinjunker devlinjunker Jun 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure that this needed to be here for the CI checks to pass ( see the error here https://github.com/nextcloud/news/runs/6544192521?check_suite_focus=true )

in another PR we can try to add mocha/karma unit tests that can be run here, but for now it is just a TODO

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or do you mean we should leave this ci check failing until they are properly implemented?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, if it's not doing anything CI shouldn't be checking it iyam.

Copy link
Contributor Author

@devlinjunker devlinjunker Jun 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm.. I could just disable this check I suppose...

But I think I like the idea of leaving it failing until the tests are written so it kinda blocks the rewrite PR until then

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me

Copy link
Contributor Author

@devlinjunker devlinjunker Jun 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will fail that CI job though (Frontend tests), so we will have to merge this PR with ignoring that check

Signed-off-by: Devlin Junker <[email protected]>
@devlinjunker
Copy link
Contributor Author

devlinjunker commented Jun 9, 2022

any other thoughts?

should we merge this so I can create a PR for adding typescript?

@SMillerDev SMillerDev merged commit 40d9c35 into nextcloud:vue-rewrite Jun 9, 2022
@Grotax
Copy link
Member

Grotax commented Jun 9, 2022

Thank you for the work 😊👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants