build(deps): bump body-parser from 1.20.2 to 1.20.3 #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow builds the previews for pull requests when a certain label is applied. | |
# The actual deployment happens as part of a dedicated second workflow to avoid security | |
# issues where the building would otherwise occur in an authorized context where secrets | |
# could be leaked. More details can be found here: | |
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/. | |
name: Build adev for preview deployment | |
on: | |
pull_request: | |
types: [synchronize, labeled] | |
permissions: read-all | |
jobs: | |
adev-build: | |
runs-on: ubuntu-latest | |
if: | | |
(github.event.action == 'labeled' && github.event.label.name == 'adev: preview') || | |
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'adev: preview')) | |
steps: | |
- name: Initialize environment | |
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@03b8a7dffd1205e061f0bee949024ebefc2a6592 | |
- name: Setup Bazel | |
uses: angular/dev-infra/github-actions/bazel/setup@03b8a7dffd1205e061f0bee949024ebefc2a6592 | |
- name: Setup Bazel RBE | |
uses: angular/dev-infra/github-actions/bazel/configure-remote@03b8a7dffd1205e061f0bee949024ebefc2a6592 | |
- name: Install node modules | |
run: yarn install --frozen-lockfile | |
- name: Build adev to ensure it continues to work | |
run: yarn bazel build //adev:build --prerender_adev --config=release | |
- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@03b8a7dffd1205e061f0bee949024ebefc2a6592 | |
with: | |
workflow-artifact-name: 'adev-preview' | |
pull-number: '${{github.event.pull_request.number}}' | |
artifact-build-revision: '${{github.event.pull_request.head.sha}}' | |
deploy-directory: './dist/bin/adev/build/browser' |