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

set node-version output (2022 edition) #534

Merged
merged 5 commits into from
Jul 4, 2022
Merged

set node-version output (2022 edition) #534

merged 5 commits into from
Jul 4, 2022

Conversation

panva
Copy link
Contributor

@panva panva commented Jun 30, 2022

I am unable to update the original PR with a rebase and re-build so I'm opening a new one.

Description:
This adds a node-version output similar to setup-python so that the exact installed node version can be used e.g. as part of a cache key for following build steps.

Related issue:

#150 #173

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@panva panva requested a review from a team June 30, 2022 20:01
@dmitry-shibanov
Copy link
Contributor

Hello @panva. Could you please run npm run build and npm run format commands?

@panva
Copy link
Contributor Author

panva commented Jun 30, 2022

Could you please run npm run build and npm run format commands?

done.

src/main.ts Outdated Show resolved Hide resolved
@dmitry-shibanov
Copy link
Contributor

Could you please revert changes to previous one and add mock for getExecOutput in installer.test.ts ?

    // @actions/exec
    getExecOutputSpy = jest.spyOn(exec, "getExecOutput");
    getExecOutputSpy.mockImplementation(() => "16.15.0");

@marko-zivic-93 marko-zivic-93 merged commit 78faa55 into actions:main Jul 4, 2022
@panva
Copy link
Contributor Author

panva commented Jul 4, 2022

Thank you guiding this through @dmitry-shibanov.

@panva panva mentioned this pull request Jul 4, 2022
deining pushed a commit to deining/setup-node that referenced this pull request Nov 9, 2023
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.2.0 to 6.4.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.4.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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.

4 participants