Skip to content

fix(material/tree): add levelAccessor, childrenAccessor, TreeKeyManag… #28071

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

Closed
wants to merge 43 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
311b8ae
fix(material/schematics): account for browser-esbuild builder (#28025)
crisbeto Oct 31, 2023
395309b
fix(material/schematics): don't add the preconnect for fonts (#28026)
JeanMeche Oct 31, 2023
f5c2602
test(material/schematics): fix failing test (#28027)
crisbeto Oct 31, 2023
238e978
fix(material/dialog): MatDialog: change member _dialog (cdk) from pri…
dolezaljan Oct 31, 2023
ab8d7e5
fix(cdk/accordion): add `CDK_ACCORDION` export (#27981)
babiakrs Oct 31, 2023
f991425
fix(material/core): prevent updates to v17 if project uses legacy com…
crisbeto Nov 1, 2023
56771e4
refactor(material/button): clean up tokens and use tokens for ripples…
crisbeto Nov 1, 2023
e638bab
docs: release notes for the v16.2.11 release
mmalerba Nov 1, 2023
76062c4
docs: release notes for the v17.0.0-rc.2 release
mmalerba Nov 1, 2023
f99deda
docs(material/expansion): remove unused styling (#28040)
shinkhouse Nov 2, 2023
ec9581c
ci: use shared setup actions for dev-app preview deploy job
devversion Nov 2, 2023
c8ffcf5
ci: automatically deploy dev-app to firebase for main branch
devversion Nov 2, 2023
47341ac
refactor(material/core): switch ripple to tokens theming API (#28042)
crisbeto Nov 2, 2023
ff67a41
ci: properly build dev-app for automatic deploy (#28047)
devversion Nov 2, 2023
83e9c88
ci: add deployment status for automatic dev-app deployments (#28049)
devversion Nov 3, 2023
93f05d6
build: update angular shared dev-infra code (#27915)
angular-robot Nov 3, 2023
d87043c
ci: deploy dev-app to ng-comp-devapp.web.app (#28053)
devversion Nov 3, 2023
397a66d
build: update to the latest Angular v17 RC (#28056)
crisbeto Nov 4, 2023
737c7a8
perf(cdk/a11y): Don't trigger re-layout when detecting fake mousedown…
mmalerba Nov 5, 2023
4fcf821
fix(material/schematics): asyncPipe not imported but used in the temp…
fdonzello Nov 6, 2023
dea7b23
refactor(material/chips): switch to input transforms
crisbeto Nov 2, 2023
0e1cbda
refactor(material/select): switch to input transforms
crisbeto Nov 2, 2023
596ba4f
refactor(material/expansion): switch to input transforms
crisbeto Nov 2, 2023
c580919
refactor(cdk/tree): switch to input transforms
crisbeto Nov 2, 2023
459f4cc
refactor(material/tree): switch to input transforms
crisbeto Nov 2, 2023
6936cd7
refactor(material/radio): switch to input transforms
crisbeto Nov 2, 2023
fed7808
refactor(material/tabs): switch to input transforms
crisbeto Nov 2, 2023
b35d514
refactor(material/slider): switch to input transforms
crisbeto Nov 2, 2023
7704d81
refactor(material/sort): switch to input transforms
crisbeto Nov 2, 2023
59fd19e
refactor(material/datepicker): switch to input transforms
crisbeto Nov 2, 2023
b1eb11b
refactor(material/paginator): switch to input transforms
crisbeto Nov 2, 2023
d9936d5
refactor(material/toolbar): switch to input transforms
crisbeto Nov 2, 2023
ebee662
refactor(material/icon): switch to input transforms
crisbeto Nov 2, 2023
fc30485
refactor(material/stepper): switch to input transforms
crisbeto Nov 2, 2023
1e9e4a9
refactor(material/progress-spinner): switch to input transforms
crisbeto Nov 2, 2023
b27ec4b
refactor(material/progress-bar): switch to input transforms
crisbeto Nov 2, 2023
364d478
test(multiple): switch tests to new control flow
crisbeto Nov 6, 2023
1bfd4ae
build: switch development apps to new control flow
crisbeto Nov 6, 2023
99b62ba
docs(multiple): switch docs examples to new control flow
crisbeto Nov 6, 2023
8a5302a
refactor: use enum instead of const enum (#28052)
pmvald Nov 6, 2023
6057512
docs: release notes for the v17.0.0-rc.3 release
wagnermaciel Nov 6, 2023
f085b12
merge main into cdk-tree-revamp
zarend Nov 7, 2023
0fa7065
Merge branch 'main' of github.com:angular/components into cdk-tree-re…
zarend Nov 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 0 additions & 18 deletions .github/actions/yarn-install/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/assistant-to-the-branch-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
with:
persist-credentials: false
- uses: angular/dev-infra/github-actions/branch-manager@fb30926790c6225d553b91a4818cab2fdde4fb4e
- uses: angular/dev-infra/github-actions/branch-manager@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
8 changes: 4 additions & 4 deletions .github/workflows/ci-privileged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
CI_RUNNER_NUMBER: ${{ github.run_id }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ba9b4487ced515e5b4d87edd681a3bd9792444d6
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
# Checking out the pull request commit is intended here as we need to run the changed code tests.
ref: ${{ github.event.pull_request.head.sha }}
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@ba9b4487ced515e5b4d87edd681a3bd9792444d6
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Run tests on Saucelabs
run: ./scripts/circleci/run-saucelabs-tests.sh

Expand All @@ -48,14 +48,14 @@ jobs:
CI_RUNNER_NUMBER: ${{ github.run_id }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@ba9b4487ced515e5b4d87edd681a3bd9792444d6
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
# Checking out the pull request commit is intended here as we need to run the changed code tests.
ref: ${{ github.event.pull_request.head.sha }}
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@ba9b4487ced515e5b4d87edd681a3bd9792444d6
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Run tests on Browserstack
run: ./scripts/circleci/run-browserstack-tests.sh
62 changes: 31 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
- name: Install node modules
Expand Down Expand Up @@ -66,13 +66,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/bazel/configure-remote@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Check API Goldens
Expand All @@ -87,13 +87,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/bazel/configure-remote@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Run e2e tests
Expand All @@ -108,13 +108,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/bazel/configure-remote@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Run integration tests
Expand All @@ -132,13 +132,13 @@ jobs:
runs-on: ubuntu-latest-4core
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/bazel/configure-remote@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Run linker AOT tests
Expand All @@ -153,13 +153,13 @@ jobs:
runs-on: ubuntu-latest-4core
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@fb30926790c6225d553b91a4818cab2fdde4fb4e
uses: angular/dev-infra/github-actions/bazel/configure-remote@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Run linker JIT tests
Expand All @@ -174,13 +174,13 @@ jobs:
runs-on: ubuntu-latest-16core
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/bazel/configure-remote@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Run tests
Expand All @@ -195,13 +195,13 @@ jobs:
runs-on: ubuntu-latest-4core
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/bazel/configure-remote@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Run tests
Expand All @@ -217,13 +217,13 @@ jobs:
runs-on: ubuntu-latest-4core
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/bazel/configure-remote@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Build and Verify Release Output
Expand All @@ -249,13 +249,13 @@ jobs:
runs-on: ubuntu-latest-4core
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/bazel/configure-remote@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Build and Verify Release Output
Expand All @@ -275,13 +275,13 @@ jobs:
runs-on: ubuntu-latest-4core
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
uses: angular/dev-infra/github-actions/bazel/configure-remote@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Build and Verify Release Output
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/deploy-dev-app-main-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Deploying dev-app to Firebase [main push].

on:
push:
branches: [main]

permissions:
deployments: write

env:
PREVIEW_PROJECT: ng-dev-previews
PREVIEW_SITE: ng-comp-devapp
PREVIEW_CHANNEL: live

jobs:
deploy-material2-dev:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@e0ec7b60641d7f6369be45d8d02663fd50f320be

- name: Building dev-app
run: |
yarn -s bazel build //src/dev-app:web_package --symlink_prefix=dist/
cp -R dist/bin/src/dev-app/web_package dist/dev-app-web-pkg

- name: Configure Firebase deploy target
run: |
# We can use `npx` as the Firebase deploy actions uses it too.
npx -y firebase-tools@latest target:clear --project ${{env.PREVIEW_PROJECT}} hosting dev-app
npx -y firebase-tools@latest target:apply --project ${{env.PREVIEW_PROJECT}} hosting dev-app ${{env.PREVIEW_SITE}}

- uses: FirebaseExtended/action-hosting-deploy@638d3c162747cead0c1c0d3093208ed59dfd8231 # v0
id: deploy
with:
# Note: No token used here as the action otherwise may attempt to post a comment.
repoToken: ''
firebaseServiceAccount: '${{secrets.FIREBASE_PREVIEW_SERVICE_TOKEN}}'
projectId: '${{env.PREVIEW_PROJECT}}'
entryPoint: './'
channelId: '${{env.PREVIEW_CHANNEL}}'

- name: Result
run: |
echo "Deployed to: ${{steps.deploy.outputs.details_url}}"

- name: Deployment Status
uses: zattoo/deploy-status@c8a0267e54a90ea07765fa88f7c7c35171859eec # v1
with:
token: '${{github.token}}'
environment: 'dev'
environment_url: '${{steps.deploy.outputs.details_url}}'
state: success
4 changes: 2 additions & 2 deletions .github/workflows/dev-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
- uses: angular/dev-infra/github-actions/commit-message-based-labels@fb30926790c6225d553b91a4818cab2fdde4fb4e
- uses: angular/dev-infra/github-actions/commit-message-based-labels@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
post_approval_changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
- uses: angular/dev-infra/github-actions/post-approval-changes@fb30926790c6225d553b91a4818cab2fdde4fb4e
- uses: angular/dev-infra/github-actions/post-approval-changes@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/google-internal-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
- uses: angular/dev-infra/github-actions/google-internal-tests@fb30926790c6225d553b91a4818cab2fdde4fb4e
- uses: angular/dev-infra/github-actions/google-internal-tests@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
run-tests-guide-url: http://go/angular-material-presubmit
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ jobs:
(github.event.action == 'labeled' && github.event.label.name == 'dev-app preview') ||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'dev-app preview'))
steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2.0.0
- uses: ./.github/actions/yarn-install

- uses: angular/dev-infra/github-actions/setup-bazel-remote-exec@fb30926790c6225d553b91a4818cab2fdde4fb4e
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
bazelrc: ./.bazelrc.user
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@e0ec7b60641d7f6369be45d8d02663fd50f320be
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@e0ec7b60641d7f6369be45d8d02663fd50f320be

# Build the web package. Note: We run Bazel from a low-resource Github action container,
# so we manually need to instruct Bazel to run more actions concurrently as by default
# the number of concurrent actions is determined based on the host resources.
- run: bazel build //src/dev-app:web_package --symlink_prefix=dist/ --jobs=32
# Build the web package
- run: bazel build //src/dev-app:web_package --symlink_prefix=dist/

- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@fb30926790c6225d553b91a4818cab2fdde4fb4e
- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
workflow-artifact-name: 'dev-app'
pull-number: '${{github.event.pull_request.number}}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
npx -y firebase-tools@latest target:clear --project ${{env.PREVIEW_PROJECT}} hosting dev-app
npx -y firebase-tools@latest target:apply --project ${{env.PREVIEW_PROJECT}} hosting dev-app ${{env.PREVIEW_SITE}}

- uses: angular/dev-infra/github-actions/previews/upload-artifacts-to-firebase@fb30926790c6225d553b91a4818cab2fdde4fb4e
- uses: angular/dev-infra/github-actions/previews/upload-artifacts-to-firebase@e0ec7b60641d7f6369be45d8d02663fd50f320be
with:
github-token: '${{secrets.GITHUB_TOKEN}}'
workflow-artifact-name: 'dev-app'
Expand Down
Loading