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

Lock Chromatic GitHub action to 11.4 #654

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Lock Chromatic GitHub action to 11.4 #654

merged 1 commit into from
Jun 3, 2024

Conversation

kasperg
Copy link
Contributor

@kasperg kasperg commented Jun 3, 2024

Description

We have seen Chromatic failing with the following error. This apparently occurs after updating to versio 11.5 of the GitHub Action. Examples include:

This was the last PR when it did not fail. It uses v11.4 of the Chromatic action:

Try to lock it at 11.4 to address this. Dependabot should help us update in the future.

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/home/runner/work/dpl-design-system/dpl-design-system/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/runner/work/dpl-design-system/dpl-design-system/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/runner/work/dpl-design-system/dpl-design-system/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/runner/work/dpl-design-system/dpl-design-system/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/NormalModule.js:503:5
at /home/runner/work/dpl-design-system/dpl-design-system/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/NormalModule.js:358:12
at /home/runner/work/dpl-design-system/dpl-design-system/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/runner/work/dpl-design-system/dpl-design-system/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at /home/runner/work/dpl-design-system/dpl-design-system/node_modules/loader-runner/lib/LoaderRunner.js:205:4
at /home/runner/work/dpl-design-system/dpl-design-system/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:85:15
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Additional comments or questions

We have seen Chromatic failing with the following error. This
apparently occurs after updating to versio 11.5 of the GitHub Action.

Try to lock it at 11.4 to address this. Dependabot should help us
update in the future.

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:68:19)
    at Object.createHash (node:crypto:138:10)
    at module.exports (/home/runner/work/dpl-design-system/dpl-design-system/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/runner/work/dpl-design-system/dpl-design-system/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/home/runner/work/dpl-design-system/dpl-design-system/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/NormalModule.js:471:10)
    at /home/runner/work/dpl-design-system/dpl-design-system/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/NormalModule.js:503:5
    at /home/runner/work/dpl-design-system/dpl-design-system/node_modules/@storybook/builder-webpack4/node_modules/webpack/lib/NormalModule.js:358:12
    at /home/runner/work/dpl-design-system/dpl-design-system/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/runner/work/dpl-design-system/dpl-design-system/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at /home/runner/work/dpl-design-system/dpl-design-system/node_modules/loader-runner/lib/LoaderRunner.js:205:4
    at /home/runner/work/dpl-design-system/dpl-design-system/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:85:15
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Copy link
Contributor

@kasperbirch1 kasperbirch1 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@kasperg kasperg merged commit 86cdd0b into develop Jun 3, 2024
8 checks passed
@kasperg kasperg deleted the chromatic-11-4 branch June 3, 2024 12:44
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