-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
templates/react-ts/src/main.tsx
Outdated
|
||
ReactDOM.render( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ReactDOM.render is deprecated.
There was a problem hiding this comment.
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 .", |
There was a problem hiding this comment.
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?
@@ -0,0 +1,26 @@ | |||
name: Check code health |
There was a problem hiding this comment.
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.
@so99ynoodles |
templates/react-ts/src/main.tsx
Outdated
|
||
ReactDOM.render( |
There was a problem hiding this comment.
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?
@shogo0421 Thank you for your work. Could you resolve the conflict before the review? |
.github/workflows/code-check.yml
Outdated
- name: Install dependencies | ||
run: yarn install --immutable --immutable-cache --check-cache | ||
- name: Run lint | ||
run: yarn run lint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run: yarn run lint | |
run: yarn run lint:eslint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!Thank you!
Closes #16
feat: add ci/cd workflow
fix: update react template
β Pull Request Checklist:
π Test Instructions:
install both react/react-ts templates and see if there is no lint / ts error.