Skip to content

build: update dependency @types/send to v1 (#3132) #1497

build: update dependency @types/send to v1 (#3132)

build: update dependency @types/send to v1 (#3132) #1497

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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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: pnpm bazel build //ng-dev:npm_package --config=release
- name: Publish Snapshots
env:
SNAPSHOT_BUILDS_GITHUB_TOKEN: ${{ secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN }}
run: |
./tools/publish_to_github.sh "@angular/ng-dev" "dev-infra-private-ng-dev-builds" "dist/bin/ng-dev/npm_package"