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

Generating types Github Action depreciated Node version #11721

Closed
Stan-l-e-y opened this issue Jan 18, 2023 · 1 comment
Closed

Generating types Github Action depreciated Node version #11721

Stan-l-e-y opened this issue Jan 18, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@Stan-l-e-y
Copy link

Improve documentation

Link

Generating types, update types github action

Describe the problem

The Github Actions workflow script provided in this link is slightly outdated. As of recently Node.js 12 actions are deprecated, the following errors are displayed when running the build

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

The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Describe the improvement

As mentioned in the links provided by the errors as well as this issue here, the versions need to be changed to actions/checkout@v3 and actions/setup-node@v3. However, I currently still receive the same errors and it might be due to not updating the set-output command as described in the error warning link mentioning the upgrade to Environment files.

@Stan-l-e-y Stan-l-e-y added the documentation Improvements or additions to documentation label Jan 18, 2023
@charislam
Copy link
Contributor

Closing as completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants