File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.ref }}
10+ cancel-in-progress : true
11+
12+ permissions : {}
13+
14+ defaults :
15+ run :
16+ shell : bash
17+
18+ jobs :
19+ test :
20+ runs-on : ubunutu-latest
21+ steps :
22+ - name : Initialize environment
23+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c4344a4e20dbdf9cb8eeb7a7eb91431b98eabd99
24+ - name : Setup Bazel
25+ uses : angular/dev-infra/github-actions/bazel/setup@c4344a4e20dbdf9cb8eeb7a7eb91431b98eabd99
26+ - name : Setup Bazel Remote Caching
27+ uses : angular/dev-infra/github-actions/bazel/configure-remote@c4344a4e20dbdf9cb8eeb7a7eb91431b98eabd99
28+ with :
29+ google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
30+ - name : Install node modules
31+ run : pnpm bazel test --build_tests_only //...
Original file line number Diff line number Diff line change 1+ name : Pull Request
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.ref }}
9+ cancel-in-progress : true
10+
11+ permissions : {}
12+
13+ defaults :
14+ run :
15+ shell : bash
16+
17+ jobs :
18+ lint :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Initialize environment
22+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c4344a4e20dbdf9cb8eeb7a7eb91431b98eabd99
23+ - name : Install node modules
24+ run : pnpm install --frozen-lockfile
25+ - name : Check commit message
26+ run : pnpm ng-dev commit-message validate-range ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}
27+ - name : Check code format
28+ run : pnpm ng-dev format changed --check ${{ github.event.pull_request.base.sha }}
29+
30+ test :
31+ runs-on : ubunutu-latest
32+ steps :
33+ - name : Initialize environment
34+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c4344a4e20dbdf9cb8eeb7a7eb91431b98eabd99
35+ - name : Setup Bazel
36+ uses : angular/dev-infra/github-actions/bazel/setup@c4344a4e20dbdf9cb8eeb7a7eb91431b98eabd99
37+ - name : Setup Bazel Remote Caching
38+ uses : angular/dev-infra/github-actions/bazel/configure-remote@c4344a4e20dbdf9cb8eeb7a7eb91431b98eabd99
39+ with :
40+ google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
41+ - name : Install node modules
42+ run : pnpm bazel test --build_tests_only //...
You can’t perform that action at this time.
0 commit comments