Currently certain steps like `e2e-cli-node-10` and `snapshot_publish` are being run for PRs which are created via non forked repos. Such as renovate and users who create PRs directly from github via `Edit file`.
Example of such branch names are;
```
renovate/sass-loader
alan-agius4-testing-branch
```
Unlike PRs from users, when renovate opens a PR, the branch name will be in the following format `renovate/typescript-3.7.x` with `CIRCLE_BRANCH` being set to the same value. Also, `CIRCLE_PR_USERNAME` will not be defined in this case. Thus currently these 2 tasks are not being run for PRs which are being open by renovate.
Example of such build: https://circleci.com/gh/angular/angular-cli/129384
Our yarn cache is now at 4gb:
```
No cache is found for key: angular_devkit-0.11.0-m+RxJhhe6Gc_rzgntffBpEs5LmGYauhWKuRZBYBtlP0=
Found a cache from build 106076 at angular_devkit-0.11.0
Size: 4.0 GB
Cached paths:
* /home/circleci/.cache/yarn
Downloading cache archive...
Unarchiving cache...
```
By bumping the cache key we'll reset it.
* test: update ng-packagr builder tests to work on Windows
* build: add ng packagr test large for ivy
* test: fix web-worker test in ivy
Previously, we were not testing web workers under Ivy as we were overriding tsconfig.app.json entirely without including enableIvy.
When enabling Ivy we are getting warning of files that are part of the compilation which causing a warning to show and break the test.
* build: update ng-packagr to `^5.4.0`
* test: display ivy mode message once
snapshots builds are required to be run when the PR is created by renovate. This is because we have renovate jobs that update the snapshots commit SHA and we want to verify that these are green prior to merging them.
Related to: https://github.com/angular/angular-cli/pull/14687
When a PR is opened by an upstream user, the username value will be available in `CIRCLE_PR_USERNAME` environment variable and not `CIRCLE_PROJECT_USERNAME`
```
CIRCLE_PROJECT_REPONAME=angular-cli
CIRCLE_PROJECT_USERNAME=angular
CIRCLE_PR_NUMBER=13923
CIRCLE_PR_REPONAME=angular-cli
CIRCLE_PR_USERNAME=renovate-bot
```