Skip to content

Commit

Permalink
build: update angular shared dev-infra code
Browse files Browse the repository at this point in the history
  • Loading branch information
angular-robot committed Apr 8, 2024
1 parent 752f560 commit b4de43c
Show file tree
Hide file tree
Showing 10 changed files with 1,049 additions and 256 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/assistant-to-the-branch-manager.yml
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@804107deac3621184db54fab3e7cfe7f735a0d74
- uses: angular/dev-infra/github-actions/branch-manager@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
74 changes: 37 additions & 37 deletions .github/workflows/ci.yml
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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/configure-remote@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- 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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/configure-remote@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- 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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/configure-remote@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- 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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/configure-remote@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- 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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/configure-remote@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- 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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/configure-remote@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- 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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/configure-remote@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- 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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/configure-remote@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- 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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/configure-remote@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- 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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/configure-remote@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Build and Verify Release Output
Expand Down Expand Up @@ -310,17 +310,17 @@ jobs:
CI_RUNNER_NUMBER: ${{ github.run_id }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Saucelabs Variables
uses: angular/dev-infra/github-actions/saucelabs@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/saucelabs@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Run tests on Saucelabs
run: ./scripts/circleci/run-saucelabs-tests.sh

Expand All @@ -332,16 +332,16 @@ jobs:
CI_RUNNER_NUMBER: ${{ github.run_id }}
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
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@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Saucelabs Variables
uses: angular/dev-infra/github-actions/browserstack@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/browserstack@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Run tests on Browserstack
run: ./scripts/circleci/run-browserstack-tests.sh
6 changes: 3 additions & 3 deletions .github/workflows/deploy-dev-app-main-push.yml
Expand Up @@ -17,13 +17,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/configure-remote@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Install node modules
run: yarn install --frozen-lockfile

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dev-infra.yml
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@804107deac3621184db54fab3e7cfe7f735a0d74
- uses: angular/dev-infra/github-actions/commit-message-based-labels@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
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@804107deac3621184db54fab3e7cfe7f735a0d74
- uses: angular/dev-infra/github-actions/post-approval-changes@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/google-internal-tests.yml
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@804107deac3621184db54fab3e7cfe7f735a0d74
- uses: angular/dev-infra/github-actions/google-internal-tests@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
run-tests-guide-url: http://go/angular-material-presubmit
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/preview-build-dev-app.yml
Expand Up @@ -23,18 +23,18 @@ jobs:
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'dev-app preview'))
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
cache-node-modules: true
- name: Setup Bazel
uses: angular/dev-infra/github-actions/bazel/setup@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/setup@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
- name: Setup Bazel RBE
uses: angular/dev-infra/github-actions/bazel/configure-remote@804107deac3621184db54fab3e7cfe7f735a0d74
uses: angular/dev-infra/github-actions/bazel/configure-remote@86c4e22089a8e19ccf02ba52d2e93a744d62ac03

# 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@804107deac3621184db54fab3e7cfe7f735a0d74
- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
workflow-artifact-name: 'dev-app'
pull-number: '${{github.event.pull_request.number}}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-deploy-dev-app.yml
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@804107deac3621184db54fab3e7cfe7f735a0d74
- uses: angular/dev-infra/github-actions/previews/upload-artifacts-to-firebase@86c4e22089a8e19ccf02ba52d2e93a744d62ac03
with:
github-token: '${{secrets.GITHUB_TOKEN}}'
workflow-artifact-name: 'dev-app'
Expand Down

0 comments on commit b4de43c

Please sign in to comment.