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

Pipeline Fix #2526

Merged
merged 2 commits into from
Sep 26, 2024
Merged

Pipeline Fix #2526

merged 2 commits into from
Sep 26, 2024

Conversation

noahdarveau-MSFT
Copy link
Contributor

@noahdarveau-MSFT noahdarveau-MSFT commented Sep 25, 2024

After merging in the Rollup changes, it istreating all .js files in the packages/teams-js directory as esm files. The prepBetaRelease.js is written in commonjs, so it needs to be renamed to prepBetaRelease.cjs to be treated as such and unblock the pipeline since whenever it runs it will try to treat the file as an esm file and wil fail.

This did not break on the PR because the prepBetaRelease step in the pipeline has a condition so that it only runs for pipelines running on the main branch, not PR branches. Since the step was skipped, the file was not run and therefore did not error out.

@noahdarveau-MSFT noahdarveau-MSFT requested a review from a team as a code owner September 25, 2024 21:49
@noahdarveau-MSFT noahdarveau-MSFT enabled auto-merge (squash) September 25, 2024 21:52
jadahiya-MSFT
jadahiya-MSFT previously approved these changes Sep 25, 2024
AE-MS
AE-MS previously approved these changes Sep 25, 2024
@AE-MS
Copy link
Contributor

AE-MS commented Sep 25, 2024

Can you add details on how the pipelines didn't break on your PR but only broke after it was merged?

@noahdarveau-MSFT noahdarveau-MSFT merged commit 0ef1d44 into main Sep 26, 2024
28 checks passed
@noahdarveau-MSFT noahdarveau-MSFT deleted the noahdarveau/pipelinefix branch September 26, 2024 00:16
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.

5 participants