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

Upgrade action to Node 20 #36

Merged

Conversation

anamarijapapic
Copy link
Contributor

Node 16 has reached its end of life, and the deprecation process for GitHub Actions has been initiated. Workflows containing actions running on Node 16 now display a deprecation warning.

See: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Changes in this PR:

  • Node Version Update: This PR updates the Node version from 16 to 20.
  • Dependency Updates:
    • Bumps the package dependencies to the latest versions.
    • Replaces deprecated @zeit/ncc with @vercel/ncc.
    • Bumps lockfile version.
  • GitHub Workflows:
    • Updates actions/checkout from v1 to v4.
    • Adds actions/setup-node.
  • Updates dist/index.js file content: Code is recompiled using the npm run package command, because of the ncc tooling switch.

Close #35.

- Replace @zeit/ncc (deprecated) with @vercel/ncc
- Bump actions/checkout from 1 to 4
@anamarijapapic
Copy link
Contributor Author

Hi @cschleiden,

Could you please take a look at this PR whenever you have a moment? Would appreaciate it!

Thanks!

Copy link
Owner

@cschleiden cschleiden left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the fix

@cschleiden cschleiden merged commit 4d5a042 into cschleiden:master Feb 7, 2024
1 check passed
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.

Node v16 actions is deprecated
2 participants