build(deps-dev): bump @types/node from 20.14.10 to 22.10.3 #153
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: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.node-version' | |
cache: yarn | |
- uses: bazel-contrib/setup-bazel@0.8.5 | |
with: | |
bazelisk-cache: true | |
disk-cache: true | |
repository-cache: true | |
bazelrc: | | |
# Print all the options that apply to the build. | |
# This helps us diagnose which options override others | |
# (e.g. /etc/bazel.bazelrc vs. tools/bazel.rc) | |
build --announce_rc | |
# More details on failures | |
build --verbose_failures=true | |
# CI supports colors but Bazel does not detect it. | |
common --color=yes | |
- run: yarn install | |
- run: yarn build | |
- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@01c8c16f830d02110c28640aea16f145a7937080 | |
with: | |
workflow-artifact-name: 'adev-preview' | |
pull-number: '${{ github.event.pull_request.number }}' | |
artifact-build-revision: '${{github.event.pull_request.head.sha}}' | |
deploy-directory: './build/dist/bin/adev/build/browser' |