Skip to content

chore(deps-dev): bump form-data from 4.0.4 to 4.0.6 (#174) #91

chore(deps-dev): bump form-data from 4.0.4 to 4.0.6 (#174)

chore(deps-dev): bump form-data from 4.0.4 to 4.0.6 (#174) #91

name: Build adev and deploy to staging
on:
push:
branches:
- main
env:
BAZEL_REPO_CACHE_PATH: '~/.cache/bazel_repo_cache'
jobs:
adev-build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
submodules: true
- name: Setup Node JS
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version-file: '.node-version'
- name: Setup pnpm
uses: pnpm/action-setup@b307475762933b98ed359c036b0e51f26b63b74b # v5.0.0
with:
version: 10.17.1
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@8cb04a772ab4c1eb984e9c1b493a182e96c5e425 # 0.19.0
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
bazelrc: |
# Limit resources for CI runners (ubuntu-latest: 7GB RAM, 2 CPUs)
build --local_resources=memory=4096
build --local_resources=cpu=2
build --jobs=1
build --discard_analysis_cache
build --nokeep_state_after_build
# Allow network access in sandbox for Algolia API calls during SSR prerendering.
build --sandbox_default_allow_network
- name: Install Dependencies
run: npm ci
- name: Build Docs
run: npm run build
env:
NODE_OPTIONS: --max-old-space-size=4096
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.ANGULAR_DOCS_ES_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
projectId: angular-hispano-staging
channelId: live
target: docs