Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

update to node16 (node12 support deprecated)#48

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
henrygab wants to merge2 commits intoarduino:masterfromhenrygab:patch-1

Conversation

@henrygab
Copy link

Seehttps://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

Every user of this action is now getting warnings (not yet errors). For example:

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: arduino/setup-arduino-cli

I have verified this small change removes this warning when I point to this PR branch. Given the simplicity of the fix, I hope that's sufficient.

Ks89 reacted with thumbs up emoji
Seehttps://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.Every user of this action is now getting warnings (not yet errors).**_IMPORTANT_** - this change hasn't been tested.  this is because I'm not sure how I would do so.  given the trivial nature, it's likely the repo's built-in self-tests should give a pass/fail....
@CLAassistant
Copy link

CLAassistant commentedOct 21, 2022
edited
Loading

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@per1234per1234 left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks@henrygab. The project infrastructure also must be updated to use Node.js 16.x in order to allow development and validation using the same version as will be used on the GitHub Actions runner:

  • Updatepackage-lock.json file to the lockfileVersion 2 data format used by Node.js 16.x
  • Update the unit test workflow to run the tests using Node.js 16.x (it is currently using 10.x 👴)

@per1234per1234 added type: enhancementProposed improvement topic: infrastructureRelated to project infrastructure labelsOct 21, 2022
@per1234per1234 self-assigned thisOct 21, 2022
@henrygab
Copy link
Author

  • Updatepackage-lock.json file to the lockfileVersion 2 data format used by Node.js 16.x
  • Update the unit test workflow to run the tests using Node.js 16.x (it is currently using 10.x 👴)

I updated the test runner to install Node 16.x instead of Node 10.x. I realize that validation is still necessary, and I am not familiar enough to attempt the lockfile changes. (while I love learning, time is a limiting factor.)

Thank you for self-assigning!

econeale reacted with thumbs up emoji

@astraw
Copy link

I am getting this warning, too.@per1234 are there any remaining issues? AFAICS the changed requested have now been made. It would be great to make a release with to address the warning.

@per1234per1234 linked an issueJan 11, 2023 that may beclosed by this pull request
3 tasks
@lhstrh
Copy link

Is there anything left to do before this can get merged and released? It would be great to get rid of the warnings...

@ChanceCuddeback
Copy link

What is the status on this. I am a beginner at Github Actions so it may be my fault, but the action is now broken? Do I have to used a differenct verison of the action?

@joshua-8
Copy link

@ChanceCuddeback This action is still working for mehere, though there are warnings that the action will stop working soon, so I hope it is fixed soon. Thank you Arduino Team for all your work.

@per1234per1234 assignedper1234 and unassignedper1234Oct 3, 2023
@per1234
Copy link
Contributor

Closing as superseded by#54

@per1234per1234 closed thisOct 3, 2023
@per1234per1234 added the conclusion: duplicateHas already been submitted labelOct 3, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@per1234per1234per1234 requested changes

Assignees

@per1234per1234

Labels

conclusion: duplicateHas already been submittedtopic: infrastructureRelated to project infrastructuretype: enhancementProposed improvement

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Current version generates Node 12 deprecation warning

7 participants

@henrygab@CLAassistant@astraw@lhstrh@ChanceCuddeback@joshua-8@per1234

[8]ページ先頭

©2009-2025 Movatter.jp