Skip to content

Conversation

@christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Aug 30, 2025

Summary

Fix i18n workflow failing due to incompatible command arguments after PNPM/Nx migration.

Changes

  • Remove explicit file arguments from pnpm collect-i18n command
  • The playwright config already uses testMatch: /collect-i18n-.*\.ts/ to automatically find test files

Problem

The command pnpm collect-i18n -- scripts/collect-i18n-general.ts was failing because the new Nx e2e setup doesn't accept file arguments in the same way as the previous setup.

Solution

Use pnpm collect-i18n without arguments, letting the playwright config handle test discovery.

Fixes workflow failure in release PR #5263

┆Issue is synchronized with this Notion page by Unito

Remove explicit file arguments from collect-i18n command as the new Nx e2e setup
uses playwright config with testMatch pattern to automatically find test files.

The command 'pnpm collect-i18n -- scripts/collect-i18n-general.ts' was failing
because Nx e2e doesn't accept file arguments in the same way.

Fixes workflow failure in release PR #5263
@christian-byrne christian-byrne requested a review from a team as a code owner August 30, 2025 20:33
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 30, 2025
@github-actions
Copy link

🎨 Storybook Build Status

Build is starting...

⏰ Started at: 08/30/2025, 08:33:51 PM UTC

🚀 Building Storybook

  • 📦 Installing dependencies...
  • 🔧 Building Storybook components...
  • 🎨 Running Chromatic visual tests...

⏱️ Please wait while the Storybook build is in progress...

@github-actions
Copy link

🎨 Storybook Build Status

Build failed!

⏰ Completed at: 08/30/2025, 08:33:51 PM UTC

🔗 Links


⚠️ Please check the workflow logs for error details.

@github-actions
Copy link

github-actions bot commented Aug 30, 2025

🎭 Playwright Test Results

All tests passed across all browsers!

⏰ Completed at: 08/30/2025, 08:57:15 PM UTC

📊 Test Reports by Browser


🎉 Your tests are passing across all browsers!

@christian-byrne christian-byrne added area:CI/CD area:i18n Anything related to translation labels Aug 30, 2025
@christian-byrne christian-byrne merged commit 843ea39 into main Aug 30, 2025
20 checks passed
@christian-byrne christian-byrne deleted the fix/i18n-workflow-pnpm-nx-compat branch August 30, 2025 21:05
@benceruleanlu benceruleanlu mentioned this pull request Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:CI/CD area:i18n Anything related to translation size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants