You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After latest build of images, when building in a focused workspace using yarn workspaces focus --production and tsc build our builds fail due to building test files that are not included in our production build.
There has been no code changes, only noticeable change is the runners version change from 22.04.4 to 22.04.5
On the same commit, builds pass when operating system is Ubuntu 22.04.4, however now fail, on Ubuntu 22.04.5
Have attempted all the new Ubuntu images and the problem persists.
Looks like this is (probably) caused by a newer tsc version being stricter about some dependency issues, will update with full cause later - if anyone else is getting issues with typescript projects using yarn workspaces on the latest ubuntu runners try making your builds use tsc 5.1.3.
As above ^, we had to downgrade our TS Version on the runner as we had some compilation issues due to the newer version of TSC and this also exposed some dependency issues which required resolution.
Description
After latest build of images, when building in a focused workspace using yarn workspaces focus --production and tsc build our builds fail due to building test files that are not included in our production build.
There has been no code changes, only noticeable change is the runners version change from 22.04.4 to 22.04.5
On the same commit, builds pass when operating system is Ubuntu 22.04.4, however now fail, on Ubuntu 22.04.5
Have attempted all the new Ubuntu images and the problem persists.
Any ideas?
Platforms affected
Runner images affected
Image version and build link
Image: ubuntu-22.04
Version: 20240915.1.0
Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240[9](https://github.com/aderant/cloud-ar/actions/runs/10948609866/job/30400008973#step:1:10)15.1/images/ubuntu/Ubuntu2204-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240915.1
Is it regression?
Yes
Expected behavior
Builds do not build test files after the dev dependencies are removed.
Actual behavior
Builds are building code paths that should not be being built after a workspace focus on yarn
Repro steps
Using yarn workspaces focus --production and tsc build, build project.
The text was updated successfully, but these errors were encountered: