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

chore: try to update ci workflow node 16 -> node 20 #2109

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

pointhalo
Copy link
Collaborator

@pointhalo pointhalo commented Mar 4, 2024

中文模板 / Chinese Template

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Test Case
  • TypeScript definition update
  • Document improve
  • CI/CD improve
  • Branch sync
  • Other, please describe:

PR description

Try upgradge ci node version 16 -> 20

Checklist

  • Test or no need
  • Document or no need
  • Changelog or no need

Other

  • Skip Changelog

Additional information

Copy link

codesandbox-ci bot commented Mar 4, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e844705:

Sandbox Source
pr-story Configuration

@pointhalo
Copy link
Collaborator Author

  • 升级到 node 20 后,会有一个
    npm ERR! syscall open npm ERR! path /home/runner/work/semi-design/semi-design/packages/semi-ui/anchor/index-en-US.md/package.json

的报错,而实际上 anchor md 下是不会有 package.json 的

image

@pointhalo
Copy link
Collaborator Author

/.github/workflow

  • ❓ chromatic
  • ❓cypress
  • ✅ lighthouse
  • ❓performance
  • ❓publish
  • ❓release
  • ❌test-coverage
  • ✅test

@pointhalo pointhalo added the chore Build or ts define label Mar 4, 2024
@pointhalo
Copy link
Collaborator Author

pointhalo commented Mar 5, 2024

  • 升级到 node 20 后,会有一个
    npm ERR! syscall open npm ERR! path /home/runner/work/semi-design/semi-design/packages/semi-ui/anchor/index-en-US.md/package.json

的报错,而实际上 anchor md 下是不会有 package.json 的

image

image
这个似乎是 instanbul-combine 的报错,与之有关。可能跟 nyx.config.js 有关 @shijiatongxue

@pointhalo
Copy link
Collaborator Author

像是软链导致的问题……

@krislavten
Copy link

辛苦问下,这个问题还在看么?

@pointhalo
Copy link
Collaborator Author

辛苦问下,这个问题还在看么?

@krislavten 没找到原因,然后它也不是阻塞性问题必须得马上换,所以暂时没继续了。
如果有遇到过类似问题,欢迎补充有关上下文信息🤝如果有时间的话,也欢迎帮忙排查一下

@krislavten
Copy link

  • 升级到 node 20 后,会有一个
    npm ERR! syscall open npm ERR! path /home/runner/work/semi-design/semi-design/packages/semi-ui/anchor/index-en-US.md/package.json

的报错,而实际上 anchor md 下是不会有 package.json 的
image

image 这个似乎是 instanbul-combine 的报错,与之有关。可能跟 nyx.config.js 有关 @shijiatongxue

packages/semi-xxx 目录下 npm 相关命令都会报错,npm -v 同样报错,似乎是 npm 的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Build or ts define
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants