@@ -25,17 +25,17 @@ jobs:
2525 with :
2626 cache-node-modules : true
2727 - name : Install node modules
28- run : yarn install --frozen-lockfile
28+ run : pnpm install --frozen-lockfile
2929 - name : Check code lint
30- run : yarn -s tslint
30+ run : pnpm tslint
3131 - name : Check for circular dependencies
32- run : yarn -s ts-circular-deps:check
32+ run : pnpm ts-circular-deps:check
3333 - name : Validate pull approve configuration
34- run : yarn -s ng-dev pullapprove verify
34+ run : pnpm ng-dev pullapprove verify
3535 - name : Validate angular robot configuration
36- run : yarn -s ng-dev ngbot verify
36+ run : pnpm ng-dev ngbot verify
3737 - name : Confirm code builds with typescript as expected
38- run : yarn -s check-tooling-setup
38+ run : pnpm check-tooling-setup
3939
4040 devtools :
4141 runs-on : ubuntu-latest
@@ -51,16 +51,16 @@ jobs:
5151 with :
5252 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
5353 - name : Install node modules
54- run : yarn install --frozen-lockfile
54+ run : pnpm install --frozen-lockfile
5555 - name : Run unit tests
56- run : yarn devtools:test
56+ run : pnpm devtools:test
5757 - name : Test build
58- run : yarn devtools:build:chrome
58+ run : pnpm devtools:build:chrome
5959 - name : Cypress run
6060 uses : cypress-io/github-action@b8ba51a856ba5f4c15cf39007636d4ab04f23e3c # v6.10.2
6161 with :
62- command : yarn devtools:test:e2e
63- start : yarn bazel run //devtools/src:devserver
62+ command : pnpm devtools:test:e2e
63+ start : pnpm bazel run //devtools/src:devserver
6464 wait-on : ' http://localhost:4200'
6565 wait-on-timeout : 300
6666
7878 with :
7979 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
8080 - name : Install node modules
81- run : yarn install --frozen-lockfile --network-timeout 100000
81+ run : pnpm install --frozen-lockfile
8282 - name : Run CI tests for framework
83- run : yarn test:ci
83+ run : pnpm test:ci
8484
8585 integration-tests :
8686 runs-on : ubuntu-latest-4core
9696 with :
9797 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
9898 - name : Install node modules
99- run : yarn install --frozen-lockfile --network-timeout 100000
99+ run : pnpm install --frozen-lockfile
100100 - name : Run integration CI tests for framework
101- run : yarn integration-tests:ci
101+ run : pnpm integration-tests:ci
102102
103103 adev :
104104 runs-on :
@@ -113,11 +113,11 @@ jobs:
113113 with :
114114 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
115115 - name : Install node modules
116- run : yarn install --frozen-lockfile
116+ run : pnpm install --frozen-lockfile
117117 - name : Run tests
118- run : yarn bazel test //adev/...
118+ run : pnpm bazel test //adev/...
119119 - name : Build adev in fast mode to ensure it continues to work
120- run : yarn bazel build //adev:build --config=release
120+ run : pnpm bazel build //adev:build --config=release
121121
122122 publish-snapshots :
123123 runs-on :
@@ -132,9 +132,9 @@ jobs:
132132 - name : Setup Bazel RBE
133133 uses : angular/dev-infra/github-actions/bazel/configure-remote@4d2f875ec29ee71e0fe1a349a99c5ab2ccb71e30
134134 - name : Install node modules
135- run : yarn install --frozen-lockfile
135+ run : pnpm install --frozen-lockfile
136136 - run : echo "https://${{secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN}}:@github.com" > ${HOME}/.git_credentials
137- - run : yarn build
137+ - run : pnpm build
138138 - run : ./scripts/ci/publish-build-artifacts.sh
139139
140140 zone-js :
@@ -156,9 +156,9 @@ jobs:
156156 with :
157157 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
158158 - name : Install node modules
159- run : yarn install --frozen-lockfile
159+ run : pnpm install --frozen-lockfile
160160 - run : |
161- yarn bazel build \
161+ pnpm bazel build \
162162 //packages/zone.js/bundles:zone.umd.js \
163163 //packages/zone.js:npm_package \
164164 //packages/zone.js/test/closure:closure
@@ -176,15 +176,14 @@ jobs:
176176 cp dist/bin/packages/zone.js/test/closure/zone.closure.js ./packages/zone.js/build/test/zone.closure.mjs
177177
178178 # Install
179- - run : yarn --cwd packages/zone.js install --frozen-lockfile --non-interactive
179+ - run : pnpm -C packages/zone.js install --frozen-lockfile
180180 # Run zone.js tools tests
181- - run : yarn --cwd packages/zone.js promisefinallytest
182- - run : yarn --cwd packages/zone.js jest:test
183- - run : yarn --cwd packages/zone.js jest:nodetest
184- - run : yarn --cwd packages/zone.js vitest:test
185- - run : yarn --cwd packages/zone.js electrontest
186- - run : yarn --cwd packages/zone.js/test/typings install --frozen-lockfile --non-interactive
187- - run : yarn --cwd packages/zone.js/test/typings test
181+ - run : pnpm -C packages/zone.js promisefinallytest
182+ - run : pnpm -C packages/zone.js jest:test
183+ - run : pnpm -C packages/zone.js jest:nodetest
184+ - run : pnpm -C packages/zone.js vitest:test
185+ - run : pnpm -C packages/zone.js electrontest
186+ - run : pnpm -C packages/zone.js/test/typings test
188187
189188 # saucelabs:
190189 # runs-on: ubuntu-latest-4core
@@ -196,7 +195,7 @@ jobs:
196195 # with:
197196 # cache-node-modules: true
198197 # - name: Install node modules
199- # run: yarn install --frozen-lockfile
198+ # run: pnpm install --frozen-lockfile
200199 # - uses: ./.github/actions/saucelabs-legacy
201200
202201 adev-deploy :
@@ -211,9 +210,9 @@ jobs:
211210 - name : Setup Bazel RBE
212211 uses : angular/dev-infra/github-actions/bazel/configure-remote@4d2f875ec29ee71e0fe1a349a99c5ab2ccb71e30
213212 - name : Install node modules
214- run : yarn install --frozen-lockfile
213+ run : pnpm install --frozen-lockfile
215214 - name : Build adev to ensure it continues to work
216- run : yarn bazel build //adev:build --full_build_adev --config=release
215+ run : pnpm bazel build //adev:build --full_build_adev --config=release
217216 - name : Deploy to firebase
218217 uses : ./.github/actions/deploy-docs-site
219218 with :
0 commit comments