-
Notifications
You must be signed in to change notification settings - Fork 557
add github action. #433
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 github action. #433
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brendandburns The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
.github/workflows/test.yml
Outdated
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: [ '10', '8' ] |
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.
Any chance we can add ['12]
node: [ '10', '8' ] | |
node: [ '12', '10', '8' ] |
As this is the latest LTS versions.
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.
done (removed '8')
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- run: npm install |
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.
Maybe we can add back
https://github.com/kubernetes-client/javascript/blob/master/.travis.yml#L6-L9
- run: npm install | |
# Pre check to check that version matches package-lock.json | |
# needs to happen before npm install | |
- run: node version-check.js | |
- run: npm install |
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.
done.
.github/workflows/test.yml
Outdated
node-version: ${{ matrix.node }} | ||
- run: npm install | ||
- run: npm test | ||
- run: npm lint No newline at end of file |
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.
Missing new line.
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.
done.
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 we also remove the .travis.yml
so its not confusing?
Some small suggestions but thanks for getting on this so quick! Sorry I was busy and didn't have time to get to it this week end.
Can these be activated before merging? or I guess they can't |
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 but I can't run it on this repo
Comments addressed. There is some tool that looks like it can run it locally (https://github.com/nektos/act) if I run into trouble validating this or need to make a bunch of changes, I will try that. |
@drubin I think the |
/lgtm Sorry :) |
cc @drubin