Skip to content

fix(ci): convert GitHub Actions scripts to .cjs for ESM compatibility#6185

Merged
droshev merged 1 commit intomainfrom
chore/fix-main
Nov 5, 2025
Merged

fix(ci): convert GitHub Actions scripts to .cjs for ESM compatibility#6185
droshev merged 1 commit intomainfrom
chore/fix-main

Conversation

@droshev
Copy link
Contributor

@droshev droshev commented Nov 5, 2025

  • Rename all .js files in .github/actions to .cjs to preserve CommonJS format
  • Update action.yml files to reference .cjs entry points
  • Update internal require() statements to reference .cjs files
  • Resolves 'require is not defined in ES module scope' in CI release workflow
  • GitHub Actions scripts remain in CommonJS while main project uses ESM [ci visual]

- Rename all .js files in .github/actions to .cjs to preserve CommonJS format
- Update action.yml files to reference .cjs entry points
- Update internal require() statements to reference .cjs files
- Resolves 'require is not defined in ES module scope' in CI release workflow
- GitHub Actions scripts remain in CommonJS while main project uses ESM [ci visual]
@droshev droshev requested a review from InnaAtanasova November 5, 2025 21:06
@droshev droshev self-assigned this Nov 5, 2025
@droshev droshev added the tooling label Nov 5, 2025
@droshev droshev added this to the Sprint 152 - November 2025 milestone Nov 5, 2025
@netlify
Copy link

netlify bot commented Nov 5, 2025

Deploy Preview for fundamental-styles ready!

Name Link
🔨 Latest commit f94e600
🔍 Latest deploy log https://app.netlify.com/projects/fundamental-styles/deploys/690bbc4ac4feb800082f0009
😎 Deploy Preview https://deploy-preview-6185--fundamental-styles.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@droshev droshev merged commit 7b002f9 into main Nov 5, 2025
12 checks passed
@droshev droshev deleted the chore/fix-main branch November 5, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant