-
Notifications
You must be signed in to change notification settings - Fork 48
Issue 244 #271
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
base: master
Are you sure you want to change the base?
Issue 244 #271
Conversation
922e7a6
to
a2ce653
Compare
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.
Looks simple, and simple is good! It's great that you are looking into CI.
Please see comments.
.github/workflows/yarn.yml
Outdated
cmd: install # will run `yarn install` command | ||
- uses: borales/[email protected] | ||
with: | ||
cmd: build # will run `yarn build` command |
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.
yarn build
is not necessary. Also, please remove redundant comments.
.github/workflows/yarn.yml
Outdated
@@ -0,0 +1,24 @@ | |||
name: yarn |
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.
It might be better to include this as a separate job of ci.yml
, as a job called test
, and then create a job dependency so that the container image build step depends on test
. This would prevent non-working builds from being published.
.github/workflows/ci.yml
Outdated
@@ -13,6 +13,16 @@ jobs: | |||
runs-on: ubuntu-latest | |||
|
|||
steps: | |||
|
|||
- name: test |
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.
the name "test" does not seem to be describing actions/checkout@v2
.github/workflows/ci.yml
Outdated
|
||
- name: test | ||
uses: actions/checkout@v2 | ||
uses: borales/[email protected] |
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.
From the README:
Please keep in mind that this Action was originally written for GitHub Actions beta (when Docker was the only way of doing things). Consider using actions/setup-node to work with Yarn. This repository will be mostly supporting the existing flows.
@jennydaman Can you please review the changes I recently made? I need a bit of help with this issue. |
@jennydaman As discussed in the meeting, I reviewed the test results based on previous commits and concluded that the latest changes would work accurately. Please review the same and let me know if I am wrong. |
@jennydaman Added yarn test with Github Actions to check if the
yarn
is built successfully, ignoring the test results.Please check if this would work.