feat: run GHA build job locally with act#23959
feat: run GHA build job locally with act#23959lmilbaum wants to merge 1 commit intorenovatebot:mainfrom
Conversation
dd0602b to
98487fc
Compare
|
I usually use Makefiles although left it out of this project due to the number of Windows users. We face this challenge:
So @lmilbaum is there any strong benefit from this? |
6bee32f to
c135ef8
Compare
|
@rarkins Thank you for your feedback. I'm testing something with the PR. It is in draft. Can we review its value or/and alternative options in a later stage? |
0937501 to
d583fb7
Compare
a2ffb29 to
532dc83
Compare
There was a problem hiding this comment.
Setup node uses pnpm but the corepack is not enabled yet so the binary is missing.
There was a problem hiding this comment.
It is installed with the node setup
There was a problem hiding this comment.
sure, but corepack is also available if nodejs is already available
There was a problem hiding this comment.
Do we want to merge this before then? That PR is conflicted and waiting for someone to resume it and then hopefully the maintainers to merge it
There was a problem hiding this comment.
I do think it has value in merging it. Waiting for a general approval and then I'll rebase.
There was a problem hiding this comment.
We'll need a regex manager added to keep it updated though. It's already out of date :)
There was a problem hiding this comment.
I would prefer to leave the corepack enable when not on act. maybe we should build our own act image to not need the huge default act image.
4dead74 to
2324171
Compare
|
@viceice ping |
rarkins
left a comment
There was a problem hiding this comment.
Add regex manager for updating pnpm version in action
There was a problem hiding this comment.
This step should not be enabled when running the pipeline with act
There was a problem hiding this comment.
I would prefer to leave the corepack enable when not on act. maybe we should build our own act image to not need the huge default act image.
|
|
||
| - name: Enable corepack | ||
| shell: bash | ||
| run: corepack enable |
There was a problem hiding this comment.
this will probably not work when there is a pnpm in place
| ## Run GitHub Action build job locally with act | ||
|
|
||
| 1. Install act - [installation instructions](https://github.com/nektos/act#installation) | ||
| 1. Run (Pick the Large image) |
There was a problem hiding this comment.
why do we need the large image?
There was a problem hiding this comment.
I don't remember now why the large image is required. I do remember that the smaller image doesn't work.
|
Can this be moved forward to merging or should it be closed? |
Thanks @rarkins for reminding me of this PR. Closing. |
Changes
Context
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: