-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support cache dependencies for cases where package lock files are located in subfolders #275
Comments
Hello @bbugh , I don't think that you need If your - uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies and build project
working-directory: some-client
run: |
npm install
npm run build
npm run test |
Hi again! 👋 On the caching PR, I had asked about caching working for mono repos, and you had replied saying that's not supported yet. I created this issue to request that support. 😉 Since GitHub actions has poor support for yaml and no reuse between steps, we have a lot of repetitive yarn tasks for caching and running. Having support built into this will be super helpful, and as we have a multi-language mono repo, we need to be able to run and cache them separately. In particular, Yarn 2's cache folder will be different for each project, as the default is Or a |
@bbugh caught it. I have renamed the issue title a bit to be more clear. Hope it works for you! |
I'm always reminding people about XY problems and here I did one myself. Thanks! |
Hello everyone! This feature request will be implemented soon. I have a small ADR under review #299 . |
Hello everyone, pull request with adding support of specifying lock files was merged. I'm closing the issue if you have any concerns, feel free to reopen it or ping me in the thread. |
* feat: add commit_sha output * docs(README): add docs for commit_sha
Hi! 👋
We have a mixed-language monorepo with nothing in the base folder except some CI info. We need to be able to specify
working-directory
input like other scripts in order to use this fantastic action to build our node subfolders.Something like:
Thanks!
The text was updated successfully, but these errors were encountered: