Skip to content
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

Arch option for setup-node #194

Merged
merged 27 commits into from Dec 10, 2020
Merged

Arch option for setup-node #194

merged 27 commits into from Dec 10, 2020

Conversation

aminya
Copy link
Contributor

@aminya aminya commented Sep 3, 2020

This adds an option for choosing the architecture for the Node executable.

Closes #190
Closes #42

Edit:

For anyone who is waiting to use this before @actions finally review this: I have tagged the PR on my fork. You can use it right now.

https://github.com/atom-ide-community/fuzzaldrin-plus-fast/blob/master/.github/workflows/CI.yml
See the readme for another example: https://github.com/aminya/setup-node/tree/arch

Edit 2:

Unfortunately, I made this PR against the main branch which has a security bug. Use the above fork at your own risk.
See this for more information: #212

aminya and others added 6 commits September 3, 2020 07:52
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>

feat: add nock

Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
@MaksimZhukov
Copy link
Contributor

@aminya thanks for the quick response!
I left one comment, please take a look.

This considers self-hosted runners
@bryanmacfarlane
Copy link
Member

For testings, I want to make sure we're using the e2e workflow. For jest unit testing, make sure stuff is mocked - I believe it currently runs without actually downloading etc and will run/pass even with no internet connection. In other words, the unit tests are testing any biz logic and the e2e workflow actually tests everything e2e.

@maxim-lobanov
Copy link
Contributor

For testings, I want to make sure we're using the e2e workflow. For jest unit testing, make sure stuff is mocked - I believe it currently runs without actually downloading etc and will run/pass even with no internet connection. In other words, the unit tests are testing any biz logic and the e2e workflow actually tests everything e2e.

As for the unit-testing, I think it is true for this PR.
As for the e2e tests, that makes sense. @aminya , could you please also add one more use case to https://github.com/actions/setup-node/blob/main/.github/workflows/versions.yml

It should be just a separate job for windows-latest that will use specific Node.js version and x86 arch

@aminya aminya force-pushed the arch branch 8 times, most recently from aca1c4f to b6ad594 Compare December 9, 2020 19:17
@aminya
Copy link
Contributor Author

aminya commented Dec 9, 2020

I added the e2e test. @maxim-lobanov Hopefully, this is ready to go now!

@maxim-lobanov maxim-lobanov merged commit 27082ce into actions:main Dec 10, 2020
@maxim-lobanov
Copy link
Contributor

@aminya , thank you for contribution and sorry that it took so much time to review it. I will take care about releasing new version soon

aminya added a commit to atom-community/zadeh that referenced this pull request Dec 10, 2020
aminya added a commit to atom-community/apm that referenced this pull request Dec 10, 2020
aminya added a commit to atom-community/apm that referenced this pull request Dec 10, 2020
aminya added a commit to atom-community/apm that referenced this pull request Dec 10, 2020
aminya added a commit to atom-community/apm that referenced this pull request Dec 10, 2020
aminya added a commit to atom-community/apm that referenced this pull request Dec 10, 2020
aminya added a commit to atom-community/apm that referenced this pull request Dec 10, 2020
deining pushed a commit to deining/setup-node that referenced this pull request Nov 9, 2023
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.2.1...2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support x86 Windows architecture
5 participants