-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat(workflows): create 'test.yml' reusable workflow #13
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
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.
Thanks for taking the time to work on this ❤️
The custom steps is a hard problem. What proportion of repos/workflows have custom steps outside of this framework?
cache: npm | ||
- run: npm ci | ||
- run: npm run test --ignore-scripts # run lint only once | ||
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.
What do you think of renaming this job to be more indicative?
test: | |
lint: |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
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's not just linting, we also test things that are independent of node versions, e.g. type tests
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.
Interesting! Does the lint
npm script do all of those things? (I made this suggestion because the only substantive command in the steps is to run the lint
script.)
I'd prefer option |
|
Maybe we only use the reusable We could also create a I think we should be able to add the
|
This comment was marked as outdated.
This comment was marked as outdated.
I'd always run it with
I'm tending towards But I'm open to anything, it's not set in stone. I do agree we should normalize it across the @octokit repositories though |
after discussing with @timrogers and @nickfloyd, we decided to remove pinning of actions until we set up #13. The idea of `helpers:pinGitHubActionDigests` is a good one, but in our particular case, the costs of the noise it creates outweighs the benefits
after discussing with @timrogers and @nickfloyd, we decided to remove pinning of actions until we set up #13. The idea of `helpers:pinGitHubActionDigests` is a good one, but in our particular case, the costs of the noise it creates outweighs the benefits
@oscard0m Do you have any updates on this |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
c071d9c
to
66c76cd
Compare
Resolves #49
Behavior
Before the change?
test.yml
for the CI tests.After the change?
Other information
#49
Additional info
Pull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!
Type: Breaking change
label)If
Yes
, what's the impact:Pull request type
Type: Feature