feat(workflows): create 'test.yml' reusable workflow#13
feat(workflows): create 'test.yml' reusable workflow#13oscard0m wants to merge 2 commits intooctokit:mainfrom
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
timrogers
left a comment
There was a problem hiding this comment.
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.
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.
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.
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.ymlfor 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 changelabel)If
Yes, what's the impact:Pull request type
Type: Feature