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

Add ci workflow & update react template #31

Merged
merged 6 commits into from
Feb 27, 2025

Conversation

shogo0421
Copy link
Contributor

@shogo0421 shogo0421 commented Oct 28, 2024

Closes #16

feat: add ci/cd workflow
fix: update react template

βœ… Pull Request Checklist:

  • Included link to corresponding GitHub Issue.
  • Filled out test instructions.

πŸ“ Test Instructions:

install both react/react-ts templates and see if there is no lint / ts error.


ReactDOM.render(
Copy link
Contributor Author

@shogo0421 shogo0421 Oct 28, 2024

Choose a reason for hiding this comment

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

ReactDOM.render is deprecated.

ref : react template in create-vite

Copy link
Member

Choose a reason for hiding this comment

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

Thank you for your suggestion.

We would like to avoid making multiple changes to a single pull request.
Could you create a separate pull request for React?

package.json Outdated
"lint": "eslint '**/*.{ts,js}'",
"fix:lint": "yarn lint --fix",
"format": "prettier --check '**/*.{ts,js,json,md}'",
"fix:format": "prettier --write .",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can I format all files and commit in this PR?

@shogo0421 shogo0421 marked this pull request as ready for review October 28, 2024 06:18
@shogo0421 shogo0421 requested a review from sugarshin as a code owner October 28, 2024 06:18
@@ -0,0 +1,26 @@
name: Check code health
Copy link
Contributor Author

@shogo0421 shogo0421 Oct 28, 2024

Choose a reason for hiding this comment

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

ref: workflow in line/liff-inspector

This workflow is not currently running in this repository.
However, it is running in my forked repository, and there are no errors.
https://github.com/shogo0421/create-liff-app/actions/runs/11549522724

github docs (about-workflow-runs-from-public-forks)

workflows on pull requests to public repositories from some outside contributors will not run automatically, and might need to be approved first. By default, all first-time contributors require approval to run workflows.

@shogo0421 shogo0421 changed the title Add ci workflow Add ci workflow & update react template Oct 28, 2024
@shogo0421
Copy link
Contributor Author

@so99ynoodles
Thank you for creating this CLI tools!
When you have a moment, could you please review my Pull Request?

@odanado odanado self-requested a review October 28, 2024 08:16
@odanado odanado added the status: triage Under Review label Nov 20, 2024

ReactDOM.render(
Copy link
Member

Choose a reason for hiding this comment

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

Thank you for your suggestion.

We would like to avoid making multiple changes to a single pull request.
Could you create a separate pull request for React?

@odanado odanado added status: in progress In Progress and removed status: triage Under Review labels Jan 8, 2025
@shogo0421
Copy link
Contributor Author

shogo0421 commented Jan 23, 2025

@odanado

Could you create a separate pull request for React?

Done! Could you please review my Pull Request? #43

@odanado
Copy link
Member

odanado commented Feb 4, 2025

@shogo0421 Thank you for your work. Could you resolve the conflict before the review?

@shogo0421 shogo0421 requested a review from a team as a code owner February 24, 2025 16:25
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
- name: Run lint
run: yarn run lint
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
run: yarn run lint
run: yarn run lint:eslint

Copy link
Member

@odanado odanado left a comment

Choose a reason for hiding this comment

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

LGTM!Thank you!

@odanado odanado added the type: maintenance Changes related to maintenance, such as CI configuration label Feb 27, 2025
@odanado odanado merged commit 7eaee8d into line:main Feb 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: in progress In Progress type: maintenance Changes related to maintenance, such as CI configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants