-
Notifications
You must be signed in to change notification settings - Fork 620
Remove node modules and configure ncc #35
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
Conversation
A lot of changes here since I ended up deleting
Also relavent
|
With early documentation, we often recommended using actions at master ( Do we know how many users are using this action on the master branch? Are we prepared/willing to break all of those users? If not, we can just put |
@joshmgross to your earlier comment, from #11:
@konradpabjan have we deprecated master yet? |
The plan all along was to put What's described at the top of #11, is no longer 100% accurate. Originally |
So we're not going to be deprecating master. I makes it possible for people to use it and test it out early if they really want. It also just seems weird to always have a not working action in the master branch. What we could do is add a warning message inside |
I see, I missed it in the big set of files in the PR 👍 |
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.
Have you run a test using setup-python@konradpabjan/ncc
?
Yup, see the screenshot attached in the top description 😃 |
Relevant Issue: #11
Removing
node_modules/
andlib/
from the master branch. In the releases branch,ncc
is now being used to compile all of the necessary files into a single filedist/index.js
Going off of examples here: https://github.com/actions/cache/blob/releases/v1/package.json and here: actions/javascript-action#5
Tested in private repository with existing action:
uses: actions/setup-python@v1
and with the new changesuses: actions/setup-python@konradpabjan/ncc
, and confirming that it is working as expected:Full yaml:
Passing runs