Skip to content

build: update cross-repo angular dependencies #1942

build: update cross-repo angular dependencies

build: update cross-repo angular dependencies #1942

name: Publish Snapshot Builds
on:
push:
branches:
- main
- snapshot-test
permissions: {}
defaults:
run:
shell: bash
jobs:
publish:
runs-on: ubuntu-latest
steps:
# Because the checkout and setup node action is contained in the dev-infra repo, we must
# checkout the repo to be able to run the action we have created. Other repos will skip
# this step.
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 1
- uses: ./github-actions/npm/checkout-and-setup-node
- uses: ./github-actions/bazel/setup
- uses: ./github-actions/bazel/configure-remote
with:
bazelrc: .bazelrc
- run: pnpm install --frozen-lockfile
- run: bash ./tools/build-all.sh
- name: Publish Snapshots
env:
GITHUB_TOKEN: ${{ secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN }}
GIT_COMMITTER_NAME: ${{ github.actor }}
GIT_COMMITTER_EMAIL: ${{ github.actor }}@users.noreply.github.com
run: pnpm ng-dev release publish-snapshots --skip-non-affected-snapshots