@@ -2,7 +2,7 @@ name: Scheduled CI
22
33on :
44 schedule :
5- - cron : ' 0 0/4 * * *'
5+ - cron : ' 0 0/4 * * *'
66
77concurrency :
88 group : ${{ github.workflow }}-${{ github.ref }}
2727 - name : Setup Bazel RBE
2828 uses : angular/dev-infra/github-actions/bazel/configure-remote@fb30926790c6225d553b91a4818cab2fdde4fb4e
2929 - name : Setting up Angular snapshot builds
30- # Angular snapshots must be set up first so that the yarn install properly
30+ # Angular snapshots must be set up first so that the yarn install properly
3131 # updates the yarn.lock as expected with the changes
3232 run : node ./scripts/circleci/setup-angular-snapshots.js main
3333 - name : Install node modules
5555 - name : Setup Bazel RBE
5656 uses : angular/dev-infra/github-actions/bazel/configure-remote@fb30926790c6225d553b91a4818cab2fdde4fb4e
5757 - name : Setting up Angular snapshot builds
58- # Angular snapshots must be set up first so that the yarn install properly
58+ # Angular snapshots must be set up first so that the yarn install properly
5959 # updates the yarn.lock as expected with the changes
6060 run : node ./scripts/circleci/setup-angular-snapshots.js main
6161 - name : Install node modules
8585 - name : Setup Bazel RBE
8686 uses : angular/dev-infra/github-actions/bazel/configure-remote@fb30926790c6225d553b91a4818cab2fdde4fb4e
8787 - name : Setting up Angular snapshot builds
88- # Angular snapshots must be set up first so that the yarn install properly
88+ # Angular snapshots must be set up first so that the yarn install properly
8989 # updates the yarn.lock as expected with the changes
9090 run : node ./scripts/circleci/setup-angular-snapshots.js main
9191 - name : Install MDC Canary
@@ -101,4 +101,24 @@ jobs:
101101 channel-id : ' C015EBF2XB6'
102102 slack-message : ' MDC snapshot test job failed for ${{ github.base_ref }} branch failed on build ${{ github.event.after }}: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
103103 env :
104- SLACK_BOT_TOKEN : ${{ secrets.ANGULAR_ROBOT_SLACK_TOKEN }}
104+ SLACK_BOT_TOKEN : ${{ secrets.ANGULAR_ROBOT_SLACK_TOKEN }}
105+
106+ monitor-docs-site :
107+ runs-on : ubuntu-latest
108+ steps :
109+ - name : Initialize environment
110+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@fb30926790c6225d553b91a4818cab2fdde4fb4e
111+ with :
112+ cache-node-modules : true
113+ - name : Install node modules
114+ run : yarn install --frozen-lockfile
115+ - name : Check Docs Site
116+ run : yarn ci-docs-monitor-test
117+ - name : Notify about failed test
118+ if : ${{ failure() }}
119+ uses : slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v=v1.24.0
120+ with :
121+ channel-id : ' C015EBF2XB6'
122+ slack-message : ' Docs site monitoring job failed for ${{ github.base_ref }} branch failed on build ${{ github.event.after }}: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
123+ env :
124+ SLACK_BOT_TOKEN : ${{ secrets.ANGULAR_ROBOT_SLACK_TOKEN }}
0 commit comments