-
Notifications
You must be signed in to change notification settings - Fork 36
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
Implement github actions #29
Conversation
For reference, here is the passing CI pipeline for this PR. |
Hey James! This looks great, can't wait to get it merged in. I think I may have set up my package & package lock files in a hacky way and would love if we could maybe sync on the best way to do it before going forward with this change... Previously, I noticed that whenever I would I see your PR has an Currently, my recommendation for dev work is to simply copy the dev package lock file over the prod one before npm installing, but I think there might be a better solution leveraging both |
Based on my understanding of the shrinkwrap file, the installation of all devDeps by default is the intended behavior of the utility: From the docs (emphasis added):
So it seems the shrinkwrap is best suited for use cases where you intend to proscriptively pin the devDeps for the user (which I don't think is what's intended). Going to push a commit that switches to a standard |
05c7e10
to
a414075
Compare
I believe that this npm doc is making a subtle and non-explicit distinction between library packages and end-user executable packages, and that the highlighted sentence is specifically for the former, while LAMS is the latter. Other hints at this distinction are: Because of the above, I do think |
PS. I will try to set aside some time in the next couple of days to test out what happens, both with this approach and some other alternatives |
Hey James! Sorry for the radio silence on my end. Holidays! Hope yours were good :) Anyway, I'm trying to get back up to speed, but I don't see the actions in this PR or your branch anymore - did you change something, or am I just blanking...? |
Nevermind, I found it! Sorry about that. I got the changes incorporated here, with a couple minor tweaks: a361a68 Thanks for getting me going on this! |
Implements CI using Github Actions.
Can be useful for enforcing that tests/linting passes before merging in PRs.
Can also be used to automate the process of publishing new releases to NPM.