mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ci: update to latest version of dev-infra actions (#59070)
Update to latest version of the actions PR Close #59070
This commit is contained in:
@@ -5,9 +5,9 @@ runs:
|
|||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Saucelabs Variables
|
- name: Setup Saucelabs Variables
|
||||||
uses: angular/dev-infra/github-actions/saucelabs@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/saucelabs@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Starting Saucelabs tunnel service
|
- name: Starting Saucelabs tunnel service
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ./tools/saucelabs/sauce-service.sh run &
|
run: ./tools/saucelabs/sauce-service.sh run &
|
||||||
|
|||||||
@@ -21,16 +21,16 @@ jobs:
|
|||||||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'adev: preview'))
|
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'adev: preview'))
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel RBE
|
- name: Setup Bazel RBE
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- name: Build adev to ensure it continues to work
|
- name: Build adev to ensure it continues to work
|
||||||
run: yarn bazel build //adev:build --full_build_adev --config=release
|
run: yarn bazel build //adev:build --full_build_adev --config=release
|
||||||
- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@49cc304dc933473935c724aef1c8004446927c46
|
- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
workflow-artifact-name: 'adev-preview'
|
workflow-artifact-name: 'adev-preview'
|
||||||
pull-number: '${{github.event.pull_request.number}}'
|
pull-number: '${{github.event.pull_request.number}}'
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
npx -y firebase-tools@latest target:clear --config adev/firebase.json --project ${{env.PREVIEW_PROJECT}} hosting angular-docs
|
npx -y firebase-tools@latest target:clear --config adev/firebase.json --project ${{env.PREVIEW_PROJECT}} hosting angular-docs
|
||||||
npx -y firebase-tools@latest target:apply --config adev/firebase.json --project ${{env.PREVIEW_PROJECT}} hosting angular-docs ${{env.PREVIEW_SITE}}
|
npx -y firebase-tools@latest target:apply --config adev/firebase.json --project ${{env.PREVIEW_PROJECT}} hosting angular-docs ${{env.PREVIEW_SITE}}
|
||||||
|
|
||||||
- uses: angular/dev-infra/github-actions/previews/upload-artifacts-to-firebase@49cc304dc933473935c724aef1c8004446927c46
|
- uses: angular/dev-infra/github-actions/previews/upload-artifacts-to-firebase@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
github-token: '${{secrets.GITHUB_TOKEN}}'
|
github-token: '${{secrets.GITHUB_TOKEN}}'
|
||||||
workflow-artifact-name: 'adev-preview'
|
workflow-artifact-name: 'adev-preview'
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ jobs:
|
|||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: angular/dev-infra/github-actions/branch-manager@49cc304dc933473935c724aef1c8004446927c46
|
- uses: angular/dev-infra/github-actions/branch-manager@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
|
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: ./.github/actions/yarn-install
|
- uses: ./.github/actions/yarn-install
|
||||||
|
|
||||||
- uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
- uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
bazelrc: ./.bazelrc.user
|
bazelrc: ./.bazelrc.user
|
||||||
|
|
||||||
|
|||||||
+20
-20
@@ -21,7 +21,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
@@ -41,13 +41,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel RBE
|
- name: Setup Bazel RBE
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
@@ -59,13 +59,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest-4core
|
runs-on: ubuntu-latest-4core
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel Remote Caching
|
- name: Setup Bazel Remote Caching
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile --network-timeout 100000
|
run: yarn install --frozen-lockfile --network-timeout 100000
|
||||||
- name: Run CI tests for framework
|
- name: Run CI tests for framework
|
||||||
@@ -76,11 +76,11 @@ jobs:
|
|||||||
labels: ubuntu-latest-4core
|
labels: ubuntu-latest-4core
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel RBE
|
- name: Setup Bazel RBE
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- name: Build adev in fast mode to ensure it continues to work
|
- name: Build adev in fast mode to ensure it continues to work
|
||||||
@@ -93,13 +93,13 @@ jobs:
|
|||||||
labels: ubuntu-latest
|
labels: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel RBE
|
- name: Setup Bazel RBE
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- run: echo "https://${{secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN}}:@github.com" > ${HOME}/.git_credentials
|
- run: echo "https://${{secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN}}:@github.com" > ${HOME}/.git_credentials
|
||||||
@@ -111,7 +111,7 @@ jobs:
|
|||||||
labels: ubuntu-latest-4core
|
labels: ubuntu-latest-4core
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
node-module-directories: |
|
node-module-directories: |
|
||||||
@@ -119,9 +119,9 @@ jobs:
|
|||||||
./packages/zone.js/node_modules
|
./packages/zone.js/node_modules
|
||||||
./packages/zone.js/test/typings/node_modules
|
./packages/zone.js/test/typings/node_modules
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel RBE
|
- name: Setup Bazel RBE
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- run: |
|
- run: |
|
||||||
@@ -158,7 +158,7 @@ jobs:
|
|||||||
SAUCE_TUNNEL_IDENTIFIER: angular-framework-${{ github.run_number }}
|
SAUCE_TUNNEL_IDENTIFIER: angular-framework-${{ github.run_number }}
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
@@ -171,11 +171,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel RBE
|
- name: Setup Bazel RBE
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- name: Build adev to ensure it continues to work
|
- name: Build adev to ensure it continues to work
|
||||||
|
|||||||
@@ -13,13 +13,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- uses: angular/dev-infra/github-actions/commit-message-based-labels@49cc304dc933473935c724aef1c8004446927c46
|
- uses: angular/dev-infra/github-actions/commit-message-based-labels@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
|
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
|
||||||
post_approval_changes:
|
post_approval_changes:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- uses: angular/dev-infra/github-actions/post-approval-changes@49cc304dc933473935c724aef1c8004446927c46
|
- uses: angular/dev-infra/github-actions/post-approval-changes@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
|
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- uses: angular/dev-infra/github-actions/google-internal-tests@49cc304dc933473935c724aef1c8004446927c46
|
- uses: angular/dev-infra/github-actions/google-internal-tests@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
run-tests-guide-url: http://go/angular-g3sync-start
|
run-tests-guide-url: http://go/angular-g3sync-start
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -13,17 +13,17 @@ jobs:
|
|||||||
JOBS: 2
|
JOBS: 2
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel Remote Caching
|
- name: Setup Bazel Remote Caching
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Saucelabs Variables
|
- name: Setup Saucelabs Variables
|
||||||
uses: angular/dev-infra/github-actions/saucelabs@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/saucelabs@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Set up Sauce Tunnel Daemon
|
- name: Set up Sauce Tunnel Daemon
|
||||||
run: yarn bazel run //tools/saucelabs-daemon/background-service -- $JOBS &
|
run: yarn bazel run //tools/saucelabs-daemon/background-service -- $JOBS &
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -9,6 +9,6 @@ jobs:
|
|||||||
status:
|
status:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: angular/dev-infra/github-actions/unified-status-check@49cc304dc933473935c724aef1c8004446927c46
|
- uses: angular/dev-infra/github-actions/unified-status-check@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
|
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
workflows: ${{ steps.workflows.outputs.workflows }}
|
workflows: ${{ steps.workflows.outputs.workflows }}
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn -s install --frozen-lockfile
|
run: yarn -s install --frozen-lockfile
|
||||||
- id: workflows
|
- id: workflows
|
||||||
@@ -36,9 +36,9 @@ jobs:
|
|||||||
workflow: ${{ fromJSON(needs.list.outputs.workflows) }}
|
workflow: ${{ fromJSON(needs.list.outputs.workflows) }}
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn -s install --frozen-lockfile
|
run: yarn -s install --frozen-lockfile
|
||||||
# We utilize the google-github-actions/auth action to allow us to get an active credential using workflow
|
# We utilize the google-github-actions/auth action to allow us to get an active credential using workflow
|
||||||
|
|||||||
+18
-18
@@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: Check code format
|
- name: Check code format
|
||||||
run: yarn ng-dev format changed --check ${{ github.event.pull_request.base.sha }}
|
run: yarn ng-dev format changed --check ${{ github.event.pull_request.base.sha }}
|
||||||
- name: Check Package Licenses
|
- name: Check Package Licenses
|
||||||
uses: angular/dev-infra/github-actions/linting/licenses@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/linting/licenses@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
allow-dependencies-licenses: 'pkg:npm/google-protobuf@'
|
allow-dependencies-licenses: 'pkg:npm/google-protobuf@'
|
||||||
|
|
||||||
@@ -47,13 +47,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel RBE
|
- name: Setup Bazel RBE
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
@@ -65,13 +65,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest-4core
|
runs-on: ubuntu-latest-4core
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel Remote Caching
|
- name: Setup Bazel Remote Caching
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile --network-timeout 100000
|
run: yarn install --frozen-lockfile --network-timeout 100000
|
||||||
- name: Run CI tests for framework
|
- name: Run CI tests for framework
|
||||||
@@ -83,13 +83,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel Remote Caching
|
- name: Setup Bazel Remote Caching
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile --network-timeout 100000
|
run: yarn install --frozen-lockfile --network-timeout 100000
|
||||||
- name: Run CI tests for framework
|
- name: Run CI tests for framework
|
||||||
@@ -105,11 +105,11 @@ jobs:
|
|||||||
labels: ubuntu-latest-4core
|
labels: ubuntu-latest-4core
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel RBE
|
- name: Setup Bazel RBE
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- name: Build adev in fast mode to ensure it continues to work
|
- name: Build adev in fast mode to ensure it continues to work
|
||||||
@@ -122,7 +122,7 @@ jobs:
|
|||||||
labels: ubuntu-latest-4core
|
labels: ubuntu-latest-4core
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
node-module-directories: |
|
node-module-directories: |
|
||||||
@@ -130,9 +130,9 @@ jobs:
|
|||||||
./packages/zone.js/node_modules
|
./packages/zone.js/node_modules
|
||||||
./packages/zone.js/test/typings/node_modules
|
./packages/zone.js/test/typings/node_modules
|
||||||
- name: Setup Bazel
|
- name: Setup Bazel
|
||||||
uses: angular/dev-infra/github-actions/bazel/setup@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/setup@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Setup Bazel RBE
|
- name: Setup Bazel RBE
|
||||||
uses: angular/dev-infra/github-actions/bazel/configure-remote@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/bazel/configure-remote@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- run: |
|
- run: |
|
||||||
@@ -169,7 +169,7 @@ jobs:
|
|||||||
SAUCE_TUNNEL_IDENTIFIER: angular-framework-${{ github.run_number }}
|
SAUCE_TUNNEL_IDENTIFIER: angular-framework-${{ github.run_number }}
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
cache-node-modules: true
|
cache-node-modules: true
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ANGULAR_CLI_BUILDS_READONLY_GITHUB_TOKEN: ${{ secrets.ANGULAR_CLI_BUILDS_READONLY_GITHUB_TOKEN }}
|
ANGULAR_CLI_BUILDS_READONLY_GITHUB_TOKEN: ${{ secrets.ANGULAR_CLI_BUILDS_READONLY_GITHUB_TOKEN }}
|
||||||
- name: Create a PR (if necessary)
|
- name: Create a PR (if necessary)
|
||||||
uses: angular/dev-infra/github-actions/create-pr-for-changes@49cc304dc933473935c724aef1c8004446927c46
|
uses: angular/dev-infra/github-actions/create-pr-for-changes@40b2cbdbcc40f36f125d721c4e8decd3bb607ea4
|
||||||
with:
|
with:
|
||||||
branch-prefix: update-cli-help
|
branch-prefix: update-cli-help
|
||||||
pr-title: 'docs: update Angular CLI help [${{github.ref_name}}]'
|
pr-title: 'docs: update Angular CLI help [${{github.ref_name}}]'
|
||||||
|
|||||||
Reference in New Issue
Block a user