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

update to nodejs 20 #249

Merged
merged 3 commits into from
Feb 3, 2024
Merged

update to nodejs 20 #249

merged 3 commits into from
Feb 3, 2024

Conversation

hopisaurus
Copy link
Contributor

Update nodejs 16 to nodejs 20 following github actions deprecation.

@hopisaurus hopisaurus mentioned this pull request Jan 31, 2024
@HatsuneMiku3939 HatsuneMiku3939 self-requested a review February 1, 2024 03:22
@HatsuneMiku3939
Copy link
Owner

Hi. @hopisaurus

Thanks to your first pull request. I'm very happy to your help.
Actions error seems to be related to node version update.

Error: error:0308010C:digital envelope routines::unsupported
ncc: Version 0.22.3
ncc: Compiling file index.js
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:68:19)
    at Object.createHash (node:crypto:[13](https://github.com/HatsuneMiku3939/direnv-action/actions/runs/7733960337/job/21092065703?pr=249#step:4:14)8:10)
    at hashOf (/home/runner/work/direnv-action/direnv-action/node_modules/@zeit/ncc/dist/ncc/index.js.cache.js:3:58216)
    at module.exports (/home/runner/work/direnv-action/direnv-action/node_modules/@zeit/ncc/dist/ncc/index.js.cache.js:3:60642)
    at runCmd (/home/runner/work/direnv-action/direnv-action/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:47355)
    at 819 (/home/runner/work/direnv-action/direnv-action/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:44227)
    at __webpack_require__ (/home/runner/work/direnv-action/direnv-action/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:[16](https://github.com/HatsuneMiku3939/direnv-action/actions/runs/7733960337/job/21092065703?pr=249#step:4:17)9)
    at startup (/home/runner/work/direnv-action/direnv-action/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:339)
    at module.exports.8 (/home/runner/work/direnv-action/direnv-action/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:371)
    at /home/runner/work/direnv-action/direnv-action/node_modules/@zeit/ncc/dist/ncc/cli.js.cache.js:1:381 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Can you fix it?

@hopisaurus
Copy link
Contributor Author

Updated to using @vercel/ncc latest version.

@hopisaurus
Copy link
Contributor Author

Updated all other github action's to latest available versions to fix other warnings.

@hopisaurus
Copy link
Contributor Author

Maybe should setup dependabot for those too -> https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot#enabling-dependabot-version-updates-for-actions

@HatsuneMiku3939
Copy link
Owner

thank you so much.

@HatsuneMiku3939 HatsuneMiku3939 merged commit b31eee1 into HatsuneMiku3939:master Feb 3, 2024
5 checks passed
@HatsuneMiku3939 HatsuneMiku3939 removed their request for review February 3, 2024 11:43
@hopisaurus hopisaurus deleted the nodejs-upgrade branch February 4, 2024 00:31
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.

2 participants